

def test_filtering_ignores_lookup_expr(self):
    qs = mock.Mock()
    value = mock.Mock(start=20, stop=30)
    f = RangeFilter(lookup_expr='gte')
    f.filter(qs, qs)
    qs.filter.assert_called_once_with(None__range=(20, 30))

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py RangeFilterTests.test_filtering_ignores_lookup_expr/VarMisuse@48/60 `value`->`qs`