12 lines
481 B
INI
12 lines
481 B
INI
[pytest]
|
|
DJANGO_SETTINGS_MODULE = cms.envs.test
|
|
addopts = --nomigrations --reuse-db --durations=20 -p no:randomly
|
|
# Enable default handling for all warnings, including those that are ignored by default;
|
|
# but hide rate-limit warnings, because we deliberately don't throttle test user logins
|
|
filterwarnings =
|
|
default
|
|
ignore:No request passed to the backend, unable to rate-limit:UserWarning
|
|
norecursedirs = envs
|
|
python_classes =
|
|
python_files = tests.py test_*.py *_tests.py
|