summaryrefslogtreecommitdiff
path: root/tests/string_lookup/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/string_lookup/tests.py')
-rw-r--r--tests/string_lookup/tests.py6
1 files changed, 3 insertions, 3 deletions
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)