12 lines
470 B
INI
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
|