Fixed spacing

This commit is contained in:
antoniocarlon
2020-03-18 12:14:16 +01:00
parent 09e24e13d3
commit a1fdaacb4c

View File

@@ -133,7 +133,6 @@ class HereMapsRoutingIsolineTestCase(unittest.TestCase):
self.isoline_url = "{0}{1}".format(HereMapsRoutingIsoline.PRODUCTION_ROUTING_BASE_URL,
HereMapsRoutingIsoline.ISOLINE_PATH)
def test_calculate_isodistance_with_valid_params(self, req_mock):
url = "{0}?start=geo%2133.0%2C1.0&mode=shortest%3Bcar".format(self.isoline_url)
req_mock.register_uri('GET', url, text=self.GOOD_RESPONSE)
@@ -212,7 +211,6 @@ class HereMapsRoutingIsolineTestCase(unittest.TestCase):
['is_destination=false'])
parsed_url = urlparse(req_mock.request_history[0].url)
url_params = parse_qs(parsed_url.query)
self.assertEqual(url_params['start'][0], 'geo!33.0,1.0')
def test_destination_parameters_works_properly(self, req_mock):
@@ -223,7 +221,6 @@ class HereMapsRoutingIsolineTestCase(unittest.TestCase):
['is_destination=true'])
parsed_url = urlparse(req_mock.request_history[0].url)
url_params = parse_qs(parsed_url.query)
self.assertEqual(url_params['destination'][0], 'geo!33.0,1.0')
def test_isodistance_with_nonstandard_url(self, req_mock):