Files
notifications-admin/pytest.ini
Leo Hemsted 5961f470a4 don't apply marks directly in pytest
specifically - don't use `pytest.mark.xfail` directly in parametrize,
instead use `pytest.param(*args, marks=pytest.mark.xfail)`. the old way
is deprecated in pytest4 - for more information see
https://docs.pytest.org/en/latest/deprecations.html#marks-in-pytest-mark-parametrize

Also, make this an error in pytest.ini so if someone adds a new xfail,
it'll crash
2018-12-31 13:37:20 +00:00

17 lines
395 B
INI

[pytest]
xfail_strict=true
testpaths = tests
log_level = 999
env =
NOTIFY_ENVIRONMENT=test
ADMIN_CLIENT_SECRET=dev-notify-secret-key
API_HOST_NAME=test
DANGEROUS_SALT=dev-notify-salt
SECRET_KEY=dev-notify-secret-key
ZENDESK_API_KEY=test
STATSD_PREFIX=stats-prefix
REDIS_ENABLED=0
filterwarnings =
error:Applying marks directly:pytest.RemovedInPytest4Warning