diff --git a/pyproject.toml b/pyproject.toml index c3c2367c..28c7707f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -308,12 +308,14 @@ minversion = "7.4" addopts = "--benchmark-disable" # Deactivate default name pattern for test classes (we use pytest_describe). python_classes = "PyTest*" -# Handle all async fixtures and tests automatically by asyncio +# Handle all async fixtures and tests automatically by asyncio, asyncio_mode = "auto" # Set a timeout in seconds for aborting tests that run too long. timeout = "100" # Ignore config options not (yet) available in older Python versions. filterwarnings = "ignore::pytest.PytestConfigWarning" +# All tests can be found in the tests directory. +testpaths = ["tests"] [build-system] requires = ["poetry_core>=1.6.1,<2"]