mirror of https://github.com/zulip/zulip.git
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:
parent
c0281498e6
commit
d8db94bab8
|
@ -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'))
|
||||
|
|
Loading…
Reference in New Issue