Skip to content

Commit d3e50a6

Browse files
committed
Formatted to align with black
1 parent a6dcb66 commit d3e50a6

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

server/tests/test_wayfinding.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ def test_calculate_route():
1414
key = os.getenv("GOOGLE_MAPS_API_KEY")
1515

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

1919

2020
def test_calculate_route_missing_params():
2121
# missing parameters test
2222

23-
response = get_routes('', '', '', '')
24-
assert response.get("status") == 'INVALID_REQUEST'
23+
response = get_routes("", "", "", "")
24+
assert response.get("status") == "INVALID_REQUEST"
2525

2626

2727
def test_calculate_route_api_key():
@@ -32,8 +32,9 @@ def test_calculate_route_api_key():
3232
mode = "Walking"
3333
key = "SAjhdgfsjkg67345834"
3434

35-
response = get_routes(origin, Destination, mode,
36-
alternatives='TRUE', key=key)
35+
response = get_routes(
36+
origin, Destination, mode, alternatives="TRUE", key=key
37+
)
3738

3839
assert response.get("status") == "REQUEST_DENIED"
3940

0 commit comments

Comments
 (0)