Skip to content

Commit 7588665

Browse files
committed
feat(tests): add pytest-asyncio support and update requirements
1 parent 19f1e50 commit 7588665

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[tool.black]
22
line_length = 100
33

4+
[tool.pytest.ini_options]
5+
asyncio_mode = "auto"
6+
47
[tool.pylint.main]
58
load-plugins = ["pylint.extensions.docparams"]
69

requirements.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ coverage
2121
# Testing packages
2222
httpx
2323
pytest
24+
pytest-asyncio
2425
pytest-cov
2526
pytest-mock
2627

requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ azure-storage-queue==12.13.0
6868
# via
6969
# -r requirements.in
7070
# azure-kusto-ingest
71+
backports-asyncio-runner==1.2.0
72+
# via pytest-asyncio
7173
black==26.1.0
7274
# via
7375
# -r requirements.in
@@ -229,8 +231,11 @@ pylint==4.0.4
229231
pytest==9.0.2
230232
# via
231233
# -r requirements.in
234+
# pytest-asyncio
232235
# pytest-cov
233236
# pytest-mock
237+
pytest-asyncio==1.3.0
238+
# via -r requirements.in
234239
pytest-cov==7.0.0
235240
# via -r requirements.in
236241
pytest-mock==3.15.1
@@ -317,6 +322,7 @@ typing-extensions==4.15.0
317322
# fastapi
318323
# pydantic
319324
# pydantic-core
325+
# pytest-asyncio
320326
# referencing
321327
# starlette
322328
# typing-inspection

0 commit comments

Comments
 (0)