def test_DistanceToPointFilter_ValueError_distance(self):
        url_params = '?dist=wrong&point=12.0,42.0&format=json'
        response = self.client.get('%s%s' % (self.location_within_distance_of_point_list_url, url_params))
        self.assertEqual(response.data['detail'], 'Invalid distance string supplied for parameter dist')
dataset/ETHPy150Open djangonauts/django-rest-framework-gis/tests/django_restframework_gis_tests/test_filters.py/TestRestFrameworkGisFilters.test_DistanceToPointFilter_ValueError_distance/original