Ticket #25284: 25284-test.2.diff
File 25284-test.2.diff, 570 bytes (added by , 9 years ago) |
---|
-
tests/queries/tests.py
diff --git a/tests/queries/tests.py b/tests/queries/tests.py index c041669..02aab19 100644
a b class Queries1Tests(BaseQuerysetTest): 104 104 # So, 'U0."id"' is referenced twice. 105 105 self.assertTrue(str(qs4.query).lower().count('u0'), 2) 106 106 107 def test_in(self): 108 qs1 = Tag.objects.all() 109 self.assertEqual(len(Annotation.objects.filter(tag=qs1)), 1) 110 107 111 def test_ticket1050(self): 108 112 self.assertQuerysetEqual( 109 113 Item.objects.filter(tags__isnull=True),