Add pytest asynio mode config

This commit is contained in:
ehsanmok 2023-04-26 18:09:05 -07:00
parent 619f2f3a36
commit 2f20628a5c
2 changed files with 7 additions and 1 deletions

View File

@ -21,6 +21,9 @@ pytest = "^6.2.5"
pytest-asyncio = "^0.17.2"
pytest-cov = "^3.0.0"
[tool.pytest.ini_options]
asyncio_mode = "auto"
[build-system]
requires = ["poetry-core"]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

View File

@ -35,6 +35,9 @@ bnb = ["bitsandbytes"]
grpcio-tools = "^1.51.1"
pytest = "^7.3.0"
[tool.pytest.ini_options]
asyncio_mode = "auto"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"