Ticket #24381: 24381-test.diff

File 24381-test.diff, 577 bytes (added by Tim Graham, 9 years ago)
  • tests/queryset_pickle/tests.py

    diff --git a/tests/queryset_pickle/tests.py b/tests/queryset_pickle/tests.py
    index 0d9687b..d735413 100644
    a b class PickleabilityTestCase(TestCase):  
    4343    def test_membermethod_as_default(self):
    4444        self.assert_pickles(Happening.objects.filter(number4=1))
    4545
     46    def test_filter_reverse_fk(self):
     47        self.assert_pickles(Group.objects.filter(event=1))
     48
    4649    def test_doesnotexist_exception(self):
    4750        # Ticket #17776
    4851        original = Event.DoesNotExist("Doesn't exist")
Back to Top