From a0241a9a74951c76686a381458935fb6baf283c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Wed, 4 Jan 2017 15:32:14 +0200 Subject: [PATCH] Fix tests. --- hc/api/tests/test_create_check.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/hc/api/tests/test_create_check.py b/hc/api/tests/test_create_check.py index a9f818e3..e8122eb8 100644 --- a/hc/api/tests/test_create_check.py +++ b/hc/api/tests/test_create_check.py @@ -146,7 +146,6 @@ class CreateCheckTestCase(BaseTestCase): self.assertEqual(r.status_code, 201) doc = r.json() - self.assertEqual(doc["kind"], "cron") self.assertEqual(doc["schedule"], "5 * * * *") self.assertEqual(doc["tz"], "Europe/Riga") self.assertEqual(doc["grace"], 60) @@ -156,7 +155,6 @@ class CreateCheckTestCase(BaseTestCase): def test_it_validates_cron_expression(self): r = self.post({ "api_key": "abc", - "kind": "cron", "schedule": "not-a-cron-expression", "tz": "Europe/Riga", "grace": 60 @@ -167,7 +165,6 @@ class CreateCheckTestCase(BaseTestCase): def test_it_validates_timezone(self): r = self.post({ "api_key": "abc", - "kind": "cron", "schedule": "* * * * *", "tz": "not-a-timezone", "grace": 60