Ticket #2361: 2361-test.diff

File 2361-test.diff, 600 bytes (added by Tim Graham, 8 years ago)
  • tests/queries/tests.py

    diff --git a/tests/queries/tests.py b/tests/queries/tests.py
    index 1973529..23b2a11 100644
    a b class Queries1Tests(BaseQuerysetTest):  
    114114            ['<Item: three>']
    115115        )
    116116
     117    def test_m2m_isnull_false(self):
     118        self.assertQuerysetEqual(
     119            Item.objects.filter(tags__isnull=False),
     120            ['<Item: four>', '<Item: one>', '<Item: one>', '<Item: two>', '<Item: two>']
     121        )
     122
    117123    def test_ticket1801(self):
    118124        self.assertQuerysetEqual(
    119125            Author.objects.filter(item=self.i2),
Back to Top