Files
saas_backend/pytest.ini
T
2026-08-31 20:04:12 -04:00

12 lines
470 B
INI

[pytest]
# APP_ENV=pytest selects .env.pytest, which points at a LOCAL scratch database.
# Without it, settings load .env.local — which points at the shared server — and
# the suite would create and drop data there. conftest.py refuses to run if the
# target is not local, but setting it here means nobody has to remember.
env = APP_ENV=pytest
testpaths = tests
python_files = test_*.py
addopts = -ra --strict-markers
filterwarnings =
ignore::DeprecationWarning