

def test_filtering(self):
    qs = mock.Mock(spec=[])
    f = DateRangeFilter()
    result = f.filter(qs, '')
    self.assertEqual(qs, result)

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py DateRangeFilterTests.test_filtering/original