diff --git a/pyproject.toml b/pyproject.toml index 7d2be0074..eac1304a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -172,6 +172,9 @@ addopts = [ ] xfail_strict = true junit_family = "xunit2" +markers = [ + "asyncio: mark test to run with asyncio event loop", +] filterwarnings = [ "error", 'ignore:starlette.middleware.wsgi is deprecated and will be removed in a future release\..*:DeprecationWarning:starlette', diff --git a/requirements-tests.txt b/requirements-tests.txt index c5de4157e..5e68223ed 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,6 +1,7 @@ -e .[all] -r requirements-docs-tests.txt pytest >=7.1.3,<9.0.0 +pytest-asyncio >=0.21.0,<0.25.0 coverage[toml] >= 6.5.0,< 8.0 mypy ==1.14.1 dirty-equals ==0.9.0