Use the EmailAuthBackend for the test suite.

(imported from commit 2f7bf9864991358e9dabacbd2b0f652a9f69230c)
This commit is contained in:
Tim Abbott 2015-08-19 23:34:25 -07:00
parent dc5a5ce1de
commit 86278804c9
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ EVENT_LOG_DIR = '/tmp/zulip-test-event-log'
# Print our emails rather than sending them
EMAIL_BACKEND = 'django.core.mail.backends.locmem.EmailBackend'
# The test suite uses EmailAuthBackend
AUTHENTICATION_BACKENDS += ('zproject.backends.EmailAuthBackend',)
TEST_SUITE = True
RATE_LIMITING = False
# Don't use rabbitmq from the test suite -- the user_profile_ids for