Pēteris Caune
6 years ago
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
1 changed files with
1 additions and
0 deletions
-
hc/api/tests/test_check_model.py
|
|
@ -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") |
|
|
|