Remove test_ldap_auth_email_auth_disabled_failure for now.

This test was having order-dependent failures when run after
`test_signup`.
This commit is contained in:
Tim Abbott 2016-11-06 18:33:53 -08:00
parent bb17e575c8
commit 11518d9fb3
1 changed files with 0 additions and 8 deletions

View File

@ -849,14 +849,6 @@ class FetchAPIKeyTest(ZulipTestCase):
password=initial_password(self.email))) password=initial_password(self.email)))
self.assert_json_error_contains(result, "Password auth is disabled", 403) self.assert_json_error_contains(result, "Password auth is disabled", 403)
@override_settings(AUTHENTICATION_BACKENDS=('zproject.backends.ZulipLDAPAuthBackend',))
def test_ldap_auth_email_auth_disabled_failure(self):
# type: () -> None
result = self.client_post("/api/v1/fetch_api_key",
dict(username=self.email,
password=initial_password(self.email)))
self.assert_json_error_contains(result, "Your username or password is incorrect.", 403)
@override_settings(AUTHENTICATION_BACKENDS=('zproject.backends.ZulipLDAPAuthBackend',)) @override_settings(AUTHENTICATION_BACKENDS=('zproject.backends.ZulipLDAPAuthBackend',))
def test_ldap_auth_email_auth_disabled_success(self): def test_ldap_auth_email_auth_disabled_success(self):
# type: () -> None # type: () -> None