Skip to content

Commit 982510a

Browse files
committed
fix test
1 parent 4d28004 commit 982510a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ def test_get_route_v2(self):
8787
assert self.routing_req in m.request_history[2].url
8888

8989
def test_get_route_next_server(self):
90-
fail_routing_req = self.waze_url + "RoutingManager/routingRequest"
90+
fail_routing_req = 'https://routing-livemap-am.waze.com/RoutingManager/routingRequest',
9191
fail_routing_response = '{}'
92-
ok_routing_req = self.waze_url + "row-RoutingManager/routingRequest"
92+
ok_routing_req = "https://routing-livemap-row.waze.com/RoutingManager/routingRequest"
9393
ok_routing_response = '{"response":{"results":[{"length":%s,"crossTime":%s}]}}' % (self.length, self.time)
9494
with requests_mock.mock() as m:
9595
m.get(self.address_req, text=self.address_to_coords_response)

0 commit comments

Comments
 (0)