summaryrefslogtreecommitdiff
path: root/tests/admin_utils
diff options
context:
space:
mode:
authorza <za@python.or.id>2016-10-27 14:53:39 +0700
committerTim Graham <timograham@gmail.com>2016-11-10 21:30:21 -0500
commit321e94fa41b121f65c02119c02098df327bbd569 (patch)
treece5476c191d589aca4b124f841dfbccac8dd299f /tests/admin_utils
parent4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff)
downloaddjango-321e94fa41b121f65c02119c02098df327bbd569.tar.gz
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/admin_utils')
-rw-r--r--tests/admin_utils/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/admin_utils/tests.py b/tests/admin_utils/tests.py
index 2e72f5a05d..966a1f11f2 100644
--- a/tests/admin_utils/tests.py
+++ b/tests/admin_utils/tests.py
@@ -72,7 +72,7 @@ class NestedObjectsTests(TestCase):
def test_on_delete_do_nothing(self):
"""
- Check that the nested collector doesn't query for DO_NOTHING objects.
+ The nested collector doesn't query for DO_NOTHING objects.
"""
n = NestedObjects(using=DEFAULT_DB_ALIAS)
objs = [Event.objects.create()]
@@ -83,9 +83,9 @@ class NestedObjectsTests(TestCase):
def test_relation_on_abstract(self):
"""
- #21846 -- Check that `NestedObjects.collect()` doesn't trip
- (AttributeError) on the special notation for relations on abstract
- models (related_name that contains %(app_label)s and/or %(class)s).
+ NestedObjects.collect() doesn't trip (AttributeError) on the special
+ notation for relations on abstract models (related_name that contains
+ %(app_label)s and/or %(class)s) (#21846).
"""
n = NestedObjects(using=DEFAULT_DB_ALIAS)
Car.objects.create()