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 # Database backup
if CONFIG.y("postgresql.backup"): if CONFIG.y("postgresql.backup"):
INSTALLED_APPS += ["dbbackup"] INSTALLED_APPS.append("dbbackup")
DBBACKUP_STORAGE = "storages.backends.s3boto3.S3Boto3Storage" DBBACKUP_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
DBBACKUP_CONNECTOR_MAPPING = { DBBACKUP_CONNECTOR_MAPPING = {
"django_prometheus.db.backends.postgresql": "dbbackup.db.postgresql.PgDumpConnector" "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 = { _LOGGING_HANDLER_MAP = {
"": LOG_LEVEL, "": LOG_LEVEL,
"passbook": LOG_LEVEL, "passbook": LOG_LEVEL,
"django": "WARNING", "django": LOG_LEVEL,
"celery": "WARNING", "celery": LOG_LEVEL,
"selenium": "WARNING", "selenium": LOG_LEVEL,
"grpc": LOG_LEVEL, "grpc": LOG_LEVEL,
"oauthlib": LOG_LEVEL, "oauthlib": LOG_LEVEL,
"oauth2_provider": LOG_LEVEL, "oauth2_provider": LOG_LEVEL,
"oidc_provider": LOG_LEVEL, "oidc_provider": LOG_LEVEL,
"docker": "WARNING", "docker": LOG_LEVEL,
"urllib3": "WARNING", "urllib3": LOG_LEVEL,
"elasticapm": "WARNING", "elasticapm": LOG_LEVEL,
} }
for handler_name, level in _LOGGING_HANDLER_MAP.items(): for handler_name, level in _LOGGING_HANDLER_MAP.items():
# pyright: reportGeneralTypeIssues=false # pyright: reportGeneralTypeIssues=false