summaryrefslogtreecommitdiff
path: root/tests/annotations
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/annotations
parent4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff)
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/annotations')
-rw-r--r--tests/annotations/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py
index ad2f071fa4..0515ac1ca1 100644
--- a/tests/annotations/tests.py
+++ b/tests/annotations/tests.py
@@ -343,7 +343,7 @@ class NonAggregateAnnotationTestCase(TestCase):
def test_null_annotation(self):
"""
- Test that annotating None onto a model round-trips
+ Annotating None onto a model round-trips
"""
book = Book.objects.annotate(no_value=Value(None, output_field=IntegerField())).first()
self.assertIsNone(book.no_value)
@@ -372,9 +372,9 @@ class NonAggregateAnnotationTestCase(TestCase):
def test_column_field_ordering(self):
"""
- Test that columns are aligned in the correct order for
- resolve_columns. This test will fail on mysql if column
- ordering is out. Column fields should be aligned as:
+ Columns are aligned in the correct order for resolve_columns. This test
+ will fail on MySQL if column ordering is out. Column fields should be
+ aligned as:
1. extra_select
2. model_fields
3. annotation_fields