Fix tests

This commit is contained in:
Pēteris Caune 2020-12-16 14:11:36 +02:00
parent 77a5f11cf9
commit 823b3dbc7b
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2

View File

@ -12,7 +12,7 @@ class AddOpsGenieTestCase(BaseTestCase):
def test_instructions_work(self): def test_instructions_work(self):
self.client.login(username="alice@example.org", password="password") self.client.login(username="alice@example.org", password="password")
r = self.client.get(self.url) r = self.client.get(self.url)
self.assertContains(r, "escalation policies and incident tracking") self.assertContains(r, "escalation policies, and incident tracking")
def test_it_works(self): def test_it_works(self):
form = {"key": "123456", "region": "us"} form = {"key": "123456", "region": "us"}