We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6dcb66 commit d3e50a6Copy full SHA for d3e50a6
1 file changed
server/tests/test_wayfinding.py
@@ -14,14 +14,14 @@ def test_calculate_route():
14
key = os.getenv("GOOGLE_MAPS_API_KEY")
15
16
response = get_routes(origin, destination, mode, alternatives, key)
17
- assert response.get("status") == 'OK'
+ assert response.get("status") == "OK"
18
19
20
def test_calculate_route_missing_params():
21
# missing parameters test
22
23
- response = get_routes('', '', '', '')
24
- assert response.get("status") == 'INVALID_REQUEST'
+ response = get_routes("", "", "", "")
+ assert response.get("status") == "INVALID_REQUEST"
25
26
27
def test_calculate_route_api_key():
@@ -32,8 +32,9 @@ def test_calculate_route_api_key():
32
mode = "Walking"
33
key = "SAjhdgfsjkg67345834"
34
35
- response = get_routes(origin, Destination, mode,
36
- alternatives='TRUE', key=key)
+ response = get_routes(
+ origin, Destination, mode, alternatives="TRUE", key=key
37
+ )
38
39
assert response.get("status") == "REQUEST_DENIED"
40
0 commit comments