Skip to content

Commit 02637b6

Browse files
committed
Formatting
1 parent d3e50a6 commit 02637b6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

server/tests/test_wayfinding.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def test_calculate_route():
1313
alternatives = "true"
1414
key = os.getenv("GOOGLE_MAPS_API_KEY")
1515

16-
response = get_routes(origin, destination, mode, alternatives, key)
16+
response = get_routes(origin, destination, mode, alternatives)
1717
assert response.get("status") == "OK"
1818

1919

@@ -33,7 +33,7 @@ def test_calculate_route_api_key():
3333
key = "SAjhdgfsjkg67345834"
3434

3535
response = get_routes(
36-
origin, Destination, mode, alternatives="TRUE", key=key
36+
origin, Destination, mode, alternatives="TRUE"
3737
)
3838

3939
assert response.get("status") == "REQUEST_DENIED"
@@ -51,7 +51,7 @@ def test_check_transport_modes():
5151
response = ""
5252

5353
for mode in modes:
54-
response = get_routes(origin, destination, mode, alternatives, key=key)
54+
response = get_routes(origin, destination, mode, alternatives)
5555

5656
if response["routes"]:
5757
first_route = response["routes"][0]

0 commit comments

Comments
 (0)