diff options
| author | za <za@python.or.id> | 2016-10-27 14:53:39 +0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-10 21:30:21 -0500 |
| commit | 321e94fa41b121f65c02119c02098df327bbd569 (patch) | |
| tree | ce5476c191d589aca4b124f841dfbccac8dd299f /tests/raw_query | |
| parent | 4bb70cbcc60794f515c9bfefeca87b8272d33c0c (diff) | |
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
Diffstat (limited to 'tests/raw_query')
| -rw-r--r-- | tests/raw_query/tests.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/raw_query/tests.py b/tests/raw_query/tests.py index 4c791dd206..3388765a98 100644 --- a/tests/raw_query/tests.py +++ b/tests/raw_query/tests.py @@ -63,7 +63,7 @@ class RawQueryTests(TestCase): setattr(orig_item, *annotation) for field in model._meta.fields: - # Check that all values on the model are equal + # All values on the model are equal self.assertEqual( getattr(item, field.attname), getattr(orig_item, field.attname) @@ -76,14 +76,13 @@ class RawQueryTests(TestCase): def assertNoAnnotations(self, results): """ - Check that the results of a raw query contain no annotations + The results of a raw query contain no annotations """ self.assertAnnotations(results, ()) def assertAnnotations(self, results, expected_annotations): """ - Check that the passed raw query results contain the expected - annotations + The passed raw query results contain the expected annotations """ if expected_annotations: for index, result in enumerate(results): |
