Fix tests.

This commit is contained in:
Pēteris Caune 2020-04-20 17:11:00 +03:00
parent 00ea45655d
commit 3cca17560a
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2

View File

@ -20,13 +20,3 @@ class ApiAdminTestCase(BaseTestCase):
r = self.client.get("/admin/api/channel/")
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>")