mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
Use the EmailAuthBackend for the test suite.
(imported from commit 2f7bf9864991358e9dabacbd2b0f652a9f69230c)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user