From 321e94fa41b121f65c02119c02098df327bbd569 Mon Sep 17 00:00:00 2001 From: za Date: Thu, 27 Oct 2016 14:53:39 +0700 Subject: Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. --- tests/string_lookup/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/string_lookup/tests.py') diff --git a/tests/string_lookup/tests.py b/tests/string_lookup/tests.py index 0bd60a053a..805833a8e4 100644 --- a/tests/string_lookup/tests.py +++ b/tests/string_lookup/tests.py @@ -12,8 +12,8 @@ class StringLookupTests(TestCase): """ Regression test for #1661 and #1662 - Check that string form referencing of - models works, both as pre and post reference, on all RelatedField types. + String form referencing of models works, both as pre and post + reference, on all RelatedField types. """ f1 = Foo(name="Foo1") @@ -79,5 +79,5 @@ class StringLookupTests(TestCase): a = Article(name='IP test', text='The body', submitted_from='192.0.2.100') a.save() self.assertSequenceEqual(Article.objects.filter(submitted_from__contains='192.0.2'), [a]) - # Test that the searches do not match the subnet mask (/32 in this case) + # The searches do not match the subnet mask (/32 in this case) self.assertEqual(Article.objects.filter(submitted_from__contains='32').count(), 0) -- cgit v1.3