backends: Move EmailLogBackEnd to email_backends.

This commit is contained in:
Vishnu Ks
2017-10-24 23:54:43 +00:00
committed by Tim Abbott
parent 1d94119d31
commit 9314a7ac8b
4 changed files with 45 additions and 42 deletions

View File

@@ -78,7 +78,7 @@ class DocPageTest(ZulipTestCase):
self._test('/errors/404/', 'Page not found')
self._test('/errors/5xx/', 'Internal server error')
with self.settings(EMAIL_BACKEND='zproject.backends.EmailLogBackEnd'):
with self.settings(EMAIL_BACKEND='zproject.email_backends.EmailLogBackEnd'):
# For reaching full coverage for clear_emails function
result = self.client_get('/emails/clear/')
self.assertEqual(result.status_code, 302)