diff options
author | za <za@python.or.id> | 2016-10-27 14:53:39 +0700 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-11-10 21:30:21 -0500 |
commit | 321e94fa41b121f65c02119c02098df327bbd569 (patch) | |
tree | ce5476c191d589aca4b124f841dfbccac8dd299f /tests/string_lookup | |
parent | 4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff) | |
download | django-321e94fa41b121f65c02119c02098df327bbd569.tar.gz |
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/string_lookup')
-rw-r--r-- | tests/string_lookup/tests.py | 6 |
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) |