forked from GithubBackups/healthchecks
Fix tests.
This commit is contained in:
parent
00ea45655d
commit
3cca17560a
@ -20,13 +20,3 @@ class ApiAdminTestCase(BaseTestCase):
|
|||||||
|
|
||||||
r = self.client.get("/admin/api/channel/")
|
r = self.client.get("/admin/api/channel/")
|
||||||
self.assertContains(r, "Pushbullet")
|
self.assertContains(r, "Pushbullet")
|
||||||
|
|
||||||
def test_it_shows_channel_list_with_unverified_email(self):
|
|
||||||
self.client.login(username="alice@example.org", password="password")
|
|
||||||
|
|
||||||
Channel.objects.create(
|
|
||||||
project=self.project, kind="email", value="foo@example.org"
|
|
||||||
)
|
|
||||||
|
|
||||||
r = self.client.get("/admin/api/channel/")
|
|
||||||
self.assertContains(r, "Email <i>(unconfirmed)</i>")
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user