mirror of https://github.com/zulip/zulip.git
Use the EmailAuthBackend for the test suite.
(imported from commit 2f7bf9864991358e9dabacbd2b0f652a9f69230c)
This commit is contained in:
parent
dc5a5ce1de
commit
86278804c9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue