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/ordering/tests.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tests/ordering/tests.py') 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) -- cgit v1.3