v0.4.0 #53
@ -20,9 +20,12 @@ def test_board_departure(api_client: Client, sample_stop_id: str):
|
|||||||
|
|
||||||
|
|
||||||
def test_him_search(api_client: Client):
|
def test_him_search(api_client: Client):
|
||||||
assert isinstance(
|
response = api_client.him_search(time_end=datetime.now() + timedelta(days=10))
|
||||||
api_client.him_search(time_end=datetime.now() + timedelta(days=10))[0], Message
|
|
||||||
)
|
if len(response) != 0:
|
||||||
|
assert isinstance(response[0], Message)
|
||||||
|
else:
|
||||||
|
assert isinstance(response, list)
|
||||||
|
|
||||||
|
|
||||||
def test_journey_detail(api_client: Client, sample_journey_id: str):
|
def test_journey_detail(api_client: Client, sample_journey_id: str):
|
||||||
|
Loading…
Reference in New Issue
Block a user