Fix tests.

This commit is contained in:
Pēteris Caune 2018-11-08 12:27:24 +02:00
parent 491999db00
commit 5f59d97d21
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2

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