chore: add backend pytest.ini to silence deprecation warning and configure asyncio fixture scope

This commit is contained in:
Atharv1705
2026-11-13 13:15:33 +05:30
parent 1cf218ca00
commit 594407d404
+9
View File
@@ -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