Compare commits
2 Commits
0096581595
...
cbcfc8604f
Author | SHA1 | Date | |
---|---|---|---|
cbcfc8604f
|
|||
34a601424b
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -154,6 +154,7 @@ cython_debug/
|
||||
|
||||
|
||||
# Custom
|
||||
.mise.toml
|
||||
.vscode/
|
||||
.venv_linux/
|
||||
.venv_windows/
|
||||
|
@@ -1,3 +1,3 @@
|
||||
requests~=2.32.0
|
||||
requests~=2.32.3
|
||||
xmltodict~=0.13.0
|
||||
isodate~=0.6.1
|
@@ -1,12 +1,12 @@
|
||||
black~=24.8.0
|
||||
build==1.2.2
|
||||
isort==5.13.2
|
||||
mypy~=1.11.0
|
||||
mypy~=1.11.2
|
||||
pylint==3.2.7
|
||||
# pytest-asyncio~=0.24.0
|
||||
pytest-cov~=5.0.0
|
||||
pytest~=8.3.1
|
||||
tox==4.18.0
|
||||
twine~=5.1.0
|
||||
# types-aiofiles~=24.1.0.20240626
|
||||
pytest~=8.3.2
|
||||
tox==4.18.1
|
||||
types-ujson~=5.10.0.20240515
|
||||
|
||||
# Disabled async libraries for now
|
||||
# types-aiofiles~=24.1.0.20240626
|
||||
# pytest-asyncio~=0.24.0
|
2
requirements/dist.txt
Normal file
2
requirements/dist.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
build==1.2.2
|
||||
twine~=5.1.1
|
@@ -20,9 +20,12 @@ def test_board_departure(api_client: Client, sample_stop_id: str):
|
||||
|
||||
|
||||
def test_him_search(api_client: Client):
|
||||
assert isinstance(
|
||||
api_client.him_search(time_end=datetime.now() + timedelta(days=10))[0], Message
|
||||
)
|
||||
response = api_client.him_search(time_end=datetime.now() + timedelta(days=10))
|
||||
|
||||
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):
|
||||
|
Reference in New Issue
Block a user