From d3d2cb0915e4a9bc095b20d106dc025fb0af7d8e Mon Sep 17 00:00:00 2001 From: Lukas Date: Tue, 17 Mar 2026 17:55:54 +0100 Subject: [PATCH] Add repo-root pytest config so async tests run from root --- pytest.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..4662d2b --- /dev/null +++ b/pytest.ini @@ -0,0 +1,10 @@ +[pytest] +# Ensure pytest-asyncio is in auto mode for async tests without explicit markers. +asyncio_mode = auto + +# Run the backend test suite from the repository root. +testpaths = backend/tests +pythonpath = backend + +# Keep coverage output consistent with backend/pyproject.toml settings. +addopts = --cov=backend/app --cov-report=term-missing