summaryrefslogtreecommitdiff
path: root/tests/ordering
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/ordering
parent4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff)
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/ordering')
-rw-r--r--tests/ordering/tests.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/ordering/tests.py b/tests/ordering/tests.py
index c07034e0cb..5e9f6dc986 100644
--- a/tests/ordering/tests.py
+++ b/tests/ordering/tests.py
@@ -210,8 +210,7 @@ class OrderingTests(TestCase):
def test_order_by_pk(self):
"""
- Ensure that 'pk' works as an ordering option in Meta.
- Refs #8291.
+ 'pk' works as an ordering option in Meta.
"""
Author.objects.create(pk=1)
Author.objects.create(pk=2)
@@ -227,9 +226,8 @@ class OrderingTests(TestCase):
def test_order_by_fk_attname(self):
"""
- Ensure that ordering by a foreign key by its attribute name prevents
- the query from inheriting its related model ordering option.
- Refs #19195.
+ ordering by a foreign key by its attribute name prevents the query
+ from inheriting its related model ordering option (#19195).
"""
for i in range(1, 5):
author = Author.objects.create(pk=i)