mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 03:13:42 -05:00
When running tests locally Pytest returns a lot of captured logging info. This is redundant because Pytest also captures stdout. This commit effectively disables logging output when running tests by setting the log level to higher than anything a real logging call would ever emit. The logging output is still captured by stdout, so nothing is lost here, we’re just reducing duplication.
13 lines
294 B
INI
13 lines
294 B
INI
[pytest]
|
|
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
|