Skip to content

Commit 555f9fb

Browse files
committed
➕ (dev) Add pytest-asyncio for async tests
1 parent 55917ec commit 555f9fb

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

poetry.lock

Lines changed: 21 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ sphinx = "^8.2.3"
7676
sphinx-rtd-theme = "^3.0.2"
7777
recommonmark = "^0.7.1"
7878
mkdocs-typer2 = "^0.1.6"
79+
pytest-asyncio = "^1.3.0"
7980

8081
[build-system]
8182
requires = ["poetry-core"]
@@ -84,6 +85,9 @@ build-backend = "poetry.core.masonry.api"
8485
[tool.ruff.lint]
8586
extend-ignore = ["E704"]
8687

88+
[tool.pytest.ini_options]
89+
asyncio_mode = "strict"
90+
8791
[tool.pytest_env]
8892
DEBUG = 1
8993
TESTING = 1

0 commit comments

Comments
 (0)