Browse Source

Fix tests.

pull/211/head
Pēteris Caune 6 years ago
parent
commit
5f59d97d21
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      hc/api/tests/test_check_model.py

+ 1
- 0
hc/api/tests/test_check_model.py View File

@ -91,6 +91,7 @@ class CheckModelTestCase(TestCase):
check.schedule = "0 * * * *"
check.status = "up"
check.last_ping = dt
check.save()
d = check.to_dict()
self.assertEqual(d["next_ping"], "2000-01-01T01:00:00+00:00")


Loading…
Cancel
Save