Adrian Moennich a7857b2559 Revert "Fix DeprecationWarning breaking tests"
This reverts commit 742d5acd262ef94ea559dc3b0421e26f02922b9a.

Shouldn't be needed anymore due to indico/indico#5173
2021-11-23 13:23:29 +01:00

17 lines
594 B
INI

[pytest]
; more verbose summary (include skip/fail/error/warning), coverage
addopts = -rsfEw --cov . --cov-report html --no-cov-on-fail
; only check for tests in suffixed files
python_files = *_test.py
; we need the storage_s3 plugin to be loaded
indico_plugins = storage_s3
; fail if there are warnings, but ignore ones that are likely just noise
filterwarnings =
error
ignore::sqlalchemy.exc.SAWarning
ignore::UserWarning
# port_for via pytest-redis
ignore:Sampling from a set deprecated:DeprecationWarning:port_for
; use redis-server from $PATH
redis_exec = redis-server