Attempt to temporarily fix #2
This commit is contained in:
@@ -26,15 +26,14 @@ def test_him_search(api_client: Client):
|
||||
)
|
||||
|
||||
|
||||
# Does not work as it should yet
|
||||
# def test_journey_detail(api_client: Client, sample_journey_id: str):
|
||||
# assert (
|
||||
# api_client.journey_detail(
|
||||
# sample_journey_id,
|
||||
# real_time_mode=enums.RealTimeMode.FULL,
|
||||
# ),
|
||||
# Journey,
|
||||
# )
|
||||
def test_journey_detail(api_client: Client, sample_journey_id: str):
|
||||
assert (
|
||||
api_client.journey_detail(
|
||||
sample_journey_id,
|
||||
real_time_mode=enums.RealTimeMode.FULL,
|
||||
),
|
||||
Journey,
|
||||
)
|
||||
|
||||
|
||||
def test_stop_by_coords(api_client: Client, sample_origin: List[str]):
|
||||
@@ -62,9 +61,21 @@ def test_trip_find(
|
||||
)
|
||||
|
||||
|
||||
# Does not work as it should yet
|
||||
# def test_trip_recon(api_client: Client):
|
||||
# assert api_client.trip_recon()
|
||||
def test_trip_recon(
|
||||
api_client: Client, sample_origin: List[str], sample_destination: List[float]
|
||||
):
|
||||
assert isinstance(
|
||||
api_client.trip_recon(
|
||||
api_client.trip_find(
|
||||
origin_coord_lat=sample_origin[0],
|
||||
origin_coord_lon=sample_origin[1],
|
||||
destination_coord_lat=sample_destination[0],
|
||||
destination_coord_lon=sample_destination[1],
|
||||
messages=True,
|
||||
)[0],
|
||||
)[0],
|
||||
Trip,
|
||||
)
|
||||
|
||||
|
||||
def test_stop_by_name(api_client: Client):
|
||||
|
Reference in New Issue
Block a user