emails: Don't log emails while running test suite.

Modified the tests to ensure 100% coverage.
This commit is contained in:
Vishnu Ks
2018-08-06 09:40:31 +00:00
committed by Tim Abbott
parent d8c19cb003
commit 6aa4b64dc0
4 changed files with 27 additions and 19 deletions

View File

@@ -158,3 +158,7 @@ PUSH_NOTIFICATION_BOUNCER_URL = None
SLOW_QUERY_LOGS_STREAM = None
THUMBOR_URL = 'http://127.0.0.1:9995'
# Logging the emails while running the tests adds them
# to /emails page.
DEVELOPMENT_LOG_EMAILS = False