forked from GithubBackups/healthchecks
Test for instruction pages.
This commit is contained in:
parent
69001abea9
commit
14627dfce8
@ -29,3 +29,10 @@ class AddChannelTestCase(TestCase):
|
||||
r = self.client.post(url, form)
|
||||
|
||||
assert r.status_code == 400, r.status_code
|
||||
|
||||
def test_instructions_work(self):
|
||||
self.client.login(username="alice", password="password")
|
||||
for frag in ("email", "webhook", "pd", "slack", "hipchat"):
|
||||
url = "/integrations/add_%s/" % frag
|
||||
r = self.client.get(url)
|
||||
self.assertContains(r, "Integration Settings", status_code=200)
|
||||
|
Loading…
x
Reference in New Issue
Block a user