diff --git a/backend/pytest.ini b/backend/pytest.ini new file mode 100644 index 0000000..18187b6 --- /dev/null +++ b/backend/pytest.ini @@ -0,0 +1,9 @@ +[pytest] +# Tests share a session-scoped SQLite DB; run sequentially (no -n / no xdist). +# asyncio_mode silences the pytest-asyncio deprecation warning that causes +# PowerShell to report exit code 1 even when all tests pass. +asyncio_mode = strict +asyncio_default_fixture_loop_scope = function +filterwarnings = + ignore::pytest.PytestDeprecationWarning +