indico-plugins/vc_zoom/pytest.ini
Adrian Moennich 742d5acd26 Fix DeprecationWarning breaking tests
Celery is using an invalid legacy version specifier (celery/celery#7074)
2021-11-16 12:51:17 +01:00

19 lines
676 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 vc_zoom plugin to be loaded
indico_plugins = vc_zoom
; 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
# celery
ignore:Creating a LegacyVersion has been deprecated:DeprecationWarning
; use redis-server from $PATH
redis_exec = redis-server