Skip to content

Commit 3c7eec6

Browse files
authored
Better conf for pytest-asyncio. (#288)
1 parent e5dd9e1 commit 3c7eec6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ testpaths = [
8989
"tests", "mocket",
9090
]
9191
addopts = "--doctest-modules --cov=mocket --cov-report=xml --cov-report=term-missing --cov-append -v -x"
92+
asyncio_default_fixture_loop_scope = "function"
93+
asyncio_mode = "auto"
9294

9395
[tool.ruff]
9496
src = ["mocket", "tests"]

0 commit comments

Comments
 (0)