

def test_creating(self):
    f = DateRangeFilter()
    self.assertIn('choices', f.extra)
    self.assertEqual(len(DateRangeFilter.options), len(f.extra['choices']))

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