root: attempt to fix broken e2e tests

This commit is contained in:
Jens Langhammer 2020-08-14 17:39:41 +02:00
parent 00ce2a90f1
commit 55cf49bb8a
1 changed files with 7 additions and 7 deletions

View File

@ -251,7 +251,7 @@ CELERY_RESULT_BACKEND = (
# Database backup
if CONFIG.y("postgresql.backup"):
INSTALLED_APPS += ["dbbackup"]
INSTALLED_APPS.append("dbbackup")
DBBACKUP_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
DBBACKUP_CONNECTOR_MAPPING = {
"django_prometheus.db.backends.postgresql": "dbbackup.db.postgresql.PgDumpConnector"
@ -368,16 +368,16 @@ if len(sys.argv) >= 2 and sys.argv[1] == "test":
_LOGGING_HANDLER_MAP = {
"": LOG_LEVEL,
"passbook": LOG_LEVEL,
"django": "WARNING",
"celery": "WARNING",
"selenium": "WARNING",
"django": LOG_LEVEL,
"celery": LOG_LEVEL,
"selenium": LOG_LEVEL,
"grpc": LOG_LEVEL,
"oauthlib": LOG_LEVEL,
"oauth2_provider": LOG_LEVEL,
"oidc_provider": LOG_LEVEL,
"docker": "WARNING",
"urllib3": "WARNING",
"elasticapm": "WARNING",
"docker": LOG_LEVEL,
"urllib3": LOG_LEVEL,
"elasticapm": LOG_LEVEL,
}
for handler_name, level in _LOGGING_HANDLER_MAP.items():
# pyright: reportGeneralTypeIssues=false