From 869d75b02fbb48b4755453c0fb7174335e982d7d Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 4 Jun 2018 23:39:01 -0700 Subject: [PATCH] AuthBackendTest: Fix typos in error message checks. Previously, these checks did nothing. --- 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 e98d66685d..05444568e7 100644 --- a/zerver/tests/test_auth_backends.py +++ b/zerver/tests/test_auth_backends.py @@ -216,10 +216,10 @@ class AuthBackendTest(ZulipTestCase): # testing to avoid false error messages. result = self.client_get('/login/') - self.assert_not_in_success_response(["No Authentication Backend is enabled."], result) + self.assert_not_in_success_response(["No authentication backends are enabled"], result) result = self.client_get('/register/') - self.assert_not_in_success_response(["No Authentication Backend is enabled."], result) + self.assert_not_in_success_response(["No authentication backends are enabled"], result) @override_settings(AUTHENTICATION_BACKENDS=('zproject.backends.GoogleMobileOauth2Backend',)) def test_google_backend(self) -> None: