Compare commits
2 Commits
0096581595
...
cbcfc8604f
Author | SHA1 | Date | |
---|---|---|---|
cbcfc8604f
|
|||
34a601424b
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -154,6 +154,7 @@ cython_debug/
|
|||||||
|
|
||||||
|
|
||||||
# Custom
|
# Custom
|
||||||
|
.mise.toml
|
||||||
.vscode/
|
.vscode/
|
||||||
.venv_linux/
|
.venv_linux/
|
||||||
.venv_windows/
|
.venv_windows/
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
requests~=2.32.0
|
requests~=2.32.3
|
||||||
xmltodict~=0.13.0
|
xmltodict~=0.13.0
|
||||||
isodate~=0.6.1
|
isodate~=0.6.1
|
@@ -1,12 +1,12 @@
|
|||||||
black~=24.8.0
|
black~=24.8.0
|
||||||
build==1.2.2
|
|
||||||
isort==5.13.2
|
isort==5.13.2
|
||||||
mypy~=1.11.0
|
mypy~=1.11.2
|
||||||
pylint==3.2.7
|
pylint==3.2.7
|
||||||
# pytest-asyncio~=0.24.0
|
|
||||||
pytest-cov~=5.0.0
|
pytest-cov~=5.0.0
|
||||||
pytest~=8.3.1
|
pytest~=8.3.2
|
||||||
tox==4.18.0
|
tox==4.18.1
|
||||||
twine~=5.1.0
|
|
||||||
# types-aiofiles~=24.1.0.20240626
|
|
||||||
types-ujson~=5.10.0.20240515
|
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):
|
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):
|
||||||
|
Reference in New Issue
Block a user