mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
This reverts commit 742d5acd262ef94ea559dc3b0421e26f02922b9a. Shouldn't be needed anymore due to indico/indico#5173
17 lines
594 B
INI
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
|