From cd512378bfebd4c5f9229c95d1af3d8a08d01391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Thu, 7 Apr 2016 21:40:27 +0300 Subject: [PATCH] fix tests --- hc/api/tests/test_list_checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hc/api/tests/test_list_checks.py b/hc/api/tests/test_list_checks.py index 1e3907cf..15a36e62 100644 --- a/hc/api/tests/test_list_checks.py +++ b/hc/api/tests/test_list_checks.py @@ -31,10 +31,10 @@ class ListChecksTestCase(BaseTestCase): checks = { check["name"]: check for check in r.json()["checks"] } self.assertEqual(checks["Alice 1"]["timeout"], 3600) self.assertEqual(checks["Alice 1"]["grace"], 900) - self.assertEqual(checks["Alice 1"]["url"], self.checks[0].url()) + self.assertEqual(checks["Alice 1"]["ping_url"], self.checks[0].url()) self.assertEqual(checks["Alice 2"]["timeout"], 86400) self.assertEqual(checks["Alice 2"]["grace"], 3600) - self.assertEqual(checks["Alice 2"]["url"], self.checks[1].url()) + self.assertEqual(checks["Alice 2"]["ping_url"], self.checks[1].url()) def test_it_shows_only_users_checks(self): bob = User(username="bob", email="bob@example.com")