Browse Source

Fix tests

master
Pēteris Caune 3 years ago
parent
commit
c0af2ac7b9
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hc/api/tests/test_create_check.py

+ 1
- 1
hc/api/tests/test_create_check.py View File

@ -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")


Loading…
Cancel
Save