Skip to content

Commit

Permalink
FIX: NAV-145 - Fix failing tests due to changed method signatures.
Browse files Browse the repository at this point in the history
  • Loading branch information
clukas1 committed Aug 20, 2024
1 parent 1844ab7 commit 4729832
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/integration/test_integration_routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def test_get_connections(client):
to_stop = "BULLFROG"
departure_time = datetime(2008, 6, 1)
connections = client.get_connections(
from_stop=from_stop,
to_stop=to_stop,
start=from_stop,
destination=to_stop,
time=departure_time,
time_type=TimeType.DEPARTURE,
)
Expand All @@ -42,8 +42,8 @@ def test_get_connections_invalid_stop(client):

with pytest.raises(PublicTransitClientException) as exc_info:
client.get_connections(
from_stop=from_stop,
to_stop=to_stop,
start=from_stop,
destination=to_stop,
time=departure_time,
time_type=TimeType.DEPARTURE,
)
Expand All @@ -60,8 +60,8 @@ def test_get_connections_negative_walking_duration(client):

with pytest.raises(PublicTransitClientException) as exc_info:
client.get_connections(
from_stop=from_stop,
to_stop=to_stop,
start=from_stop,
destination=to_stop,
time=departure_time,
time_type=TimeType.DEPARTURE,
max_walking_duration=-10,
Expand All @@ -79,7 +79,7 @@ def test_get_isolines(client):
from_stop = "NANAA"
departure_time = datetime(2008, 6, 1)
isolines = client.get_isolines(
from_stop=from_stop,
start=from_stop,
time=departure_time,
time_type=TimeType.DEPARTURE,
max_walking_duration=10,
Expand All @@ -101,7 +101,7 @@ def test_get_isolines_invalid_stop(client):

with pytest.raises(PublicTransitClientException) as exc_info:
client.get_isolines(
from_stop=from_stop,
start=from_stop,
time=departure_time,
time_type=TimeType.DEPARTURE,
max_walking_duration=10,
Expand Down

0 comments on commit 4729832

Please sign in to comment.