From b65f692fcf73d5e717a4e4a34ff7fc9c22814838 Mon Sep 17 00:00:00 2001 From: Vishnu Ks Date: Wed, 24 May 2017 17:29:42 -0700 Subject: [PATCH] Make LoginEmailValidatorTestCase use ZulipTestCase instead of TestCase. --- zerver/tests/test_auth_backends.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zerver/tests/test_auth_backends.py b/zerver/tests/test_auth_backends.py index 4b784d2768..d26918f804 100644 --- a/zerver/tests/test_auth_backends.py +++ b/zerver/tests/test_auth_backends.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from django.conf import settings from django.http import HttpResponse -from django.test import TestCase, override_settings +from django.test import override_settings from django_auth_ldap.backend import _LDAPUser from django.contrib.auth import authenticate from django.test.client import RequestFactory @@ -2096,7 +2096,7 @@ class TestAdminSetBackends(ZulipTestCase): self.assertTrue(dev_auth_enabled(realm)) self.assertFalse(password_auth_enabled(realm)) -class LoginEmailValidatorTestCase(TestCase): +class LoginEmailValidatorTestCase(ZulipTestCase): def test_valid_email(self): # type: () -> None validate_login_email(u'hamlet@zulip.com')