From c0af2ac7b9584fe04d833b414a50e4ae6c168fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Thu, 4 Nov 2021 15:52:04 +0200 Subject: [PATCH] Fix tests --- hc/api/tests/test_create_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hc/api/tests/test_create_check.py b/hc/api/tests/test_create_check.py index 0d84f7aa..ed27156e 100644 --- a/hc/api/tests/test_create_check.py +++ b/hc/api/tests/test_create_check.py @@ -196,7 +196,7 @@ class CreateCheckTestCase(BaseTestCase): self.post({"timeout": 0}, expect_fragment="timeout is too small") def test_it_rejects_large_timeout(self): - self.post({"timeout": 2592001}, expect_fragment="timeout is too large") + self.post({"timeout": 31536001}, expect_fragment="timeout is too large") def test_it_rejects_non_number_timeout(self): self.post({"timeout": "oops"}, expect_fragment="timeout is not a number")