def test_DistanceToPointFilter_filter_field_none(self):
        from .views import GeojsonLocationWithinDistanceOfPointList as view
        original_value = view.distance_filter_field
        view.distance_filter_field = None
        url_params = '?dist=%0.4f&point=&format=json' % 5000
        response = self.client.get('%s%s' % (self.location_within_distance_of_point_list_url, url_params))
        self.assertDictEqual(response.data, {'type':'FeatureCollection','features':[]})
        view.distance_filter_field = original_value
dataset/ETHPy150Open djangonauts/django-rest-framework-gis/tests/django_restframework_gis_tests/test_filters.py/TestRestFrameworkGisFilters.test_DistanceToPointFilter_filter_field_none/original