From 69a30bbc76c2e163a205e27c377b0c863440721e Mon Sep 17 00:00:00 2001 From: Christoph Zwerschke Date: Sun, 15 Sep 2024 17:58:39 +0200 Subject: [PATCH] Configure default test path --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"]