Ticket #21001: 21001.diff
File 21001.diff, 589 bytes (added by , 11 years ago) |
---|
-
tests/queries/tests.py
diff --git a/tests/queries/tests.py b/tests/queries/tests.py index e58f05c..ebc8b52 100644
a b class EmptyStringsAsNullTest(TestCase): 2488 2488 [self.nc.pk], attrgetter('pk') 2489 2489 ) 2490 2490 2491 def test_21001(self): 2492 foo = NamedCategory.objects.create(name='foo') 2493 self.assertQuerysetEqual( 2494 NamedCategory.objects.exclude(name=''), 2495 [foo.pk], attrgetter('pk') 2496 ) 2497 2491 2498 class ProxyQueryCleanupTest(TestCase): 2492 2499 def test_evaluated_proxy_count(self): 2493 2500 """