Ticket #24835: 24835-test.diff
File 24835-test.diff, 574 bytes (added by , 9 years ago) |
---|
-
tests/annotations/tests.py
diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py index 1230d5c..5928266 100644
a b class NonAggregateAnnotationTestCase(TestCase): 325 325 lambda a: (a['age'], a['age_count']) 326 326 ) 327 327 328 def test_annotate_exists(self): 329 authors = Author.objects.annotate(c=Count('id')).filter(c__gt=1) 330 self.assertFalse(authors.exists()) 331 328 332 def test_column_field_ordering(self): 329 333 """ 330 334 Test that columns are aligned in the correct order for