fix(test): add pytest-asyncio for async test support
Add pytest-asyncio==0.26.0 to core dev requirements and configure asyncio_mode=auto in pyproject.toml to fix failing async tests in service_test.py.
This commit is contained in:
@@ -16,3 +16,4 @@ pythonpath = [
|
|||||||
"src/translation"
|
"src/translation"
|
||||||
]
|
]
|
||||||
testpaths = ["test"]
|
testpaths = ["test"]
|
||||||
|
asyncio_mode = "auto"
|
||||||
@@ -1 +1,2 @@
|
|||||||
black==25.1.0
|
black==25.1.0
|
||||||
|
pytest-asyncio==0.26.0
|
||||||
Reference in New Issue
Block a user