

def test_default_field_without_assigning_model(self):
    f = AllValuesFilter()
    with self.assertRaises(AttributeError):
        f.field

dataset/ETHPy150Open carltongibson/django-filter/tests/test_filters.py AllValuesFilterTests.test_default_field_without_assigning_model/original