

def test_lookup_false(self):
    qs = mock.Mock(spec=['filter'])
    f = qs.test_filter_class(name='somefield')
    result = f.filter(qs, Lookup('', 'exact'))
    self.assertEqual(qs, result)

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py CustomFilterWithBooleanCheckTests.test_lookup_false/VarMisuse@25/30 `self`->`qs`