summaryrefslogtreecommitdiff
path: root/tests/annotations
diff options
context:
space:
mode:
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