Use default pytes warnings config

This commit is contained in:
Adrian Moennich 2020-11-11 13:23:26 +01:00
parent aa0875cd0d
commit b9a31df13b
2 changed files with 10 additions and 0 deletions

View File

@ -5,3 +5,8 @@ addopts = -rsfEw --cov . --cov-report html --no-cov-on-fail
python_files = *_test.py
; we need the livesync plugin to be loaded
indico_plugins = livesync
; fail if there are warnings, but ignore ones that are likely just noise
filterwarnings =
error
ignore::sqlalchemy.exc.SAWarning
ignore::UserWarning

View File

@ -5,3 +5,8 @@ addopts = -rsfEw --cov . --cov-report html --no-cov-on-fail
python_files = *_test.py
; we need the paypal plugin to be loaded
indico_plugins = payment_paypal
; fail if there are warnings, but ignore ones that are likely just noise
filterwarnings =
error
ignore::sqlalchemy.exc.SAWarning
ignore::UserWarning