

def test_default_field(self):
    f = DateRangeFilter()
    field = f.field
    self.assertIsInstance(field, forms.ChoiceField)

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