Make pylint happier, enhance a few tests and add missing schemas

This commit is contained in:
Oliver Falk
2020-11-13 13:36:16 +01:00
parent 8fb601ece1
commit 635951ff4d
14 changed files with 981 additions and 94 deletions

View File

@@ -108,7 +108,7 @@ else:
'MAILGUN_SENDER_DOMAIN': os.environ['IVATAR_MAILGUN_SENDER_DOMAIN'],
}
EMAIL_BACKEND = 'anymail.backends.mailgun.EmailBackend' # pragma: no cover
except Exception as exc:
except Exception as exc: # pragma: nocover
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
SERVER_EMAIL = os.environ.get('SERVER_EMAIL', 'ivatar@mg.linux-kernel.at')