TestLoginPage: Fix a confusingly named test.

Change name from test_login_page_with_subdomains to
test_login_page_wrong_subdomain_error.
This commit is contained in:
Umair Khan 2017-01-13 11:52:15 +05:00 committed by Tim Abbott
parent c0281498e6
commit d8db94bab8
1 changed files with 1 additions and 1 deletions

View File

@ -2313,7 +2313,7 @@ class TestOpenRealms(ZulipTestCase):
mit_realm.save()
class TestLoginPage(ZulipTestCase):
def test_login_page_with_subdomains(self):
def test_login_page_wrong_subdomain_error(self):
# type: () -> None
result = self.client_get("/login/?subdomain=1")
self.assertIn(WRONG_SUBDOMAIN_ERROR, result.content.decode('utf8'))