

def test_filtering(self):
    qs = mock.Mock(spec=['filter'])
    f = Filter()
    result = f.filter(f, 'value')
    qs.filter.assert_called_once_with(None__exact='value')
    self.assertNotEqual(qs, result)

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py FilterTests.test_filtering/VarMisuse@35/40 `qs`->`f`