Commit ec5388f3 authored by Łukasz Nowak's avatar Łukasz Nowak

playbook: Improve build time test

Keep test name generic and set to reasonable build time: 3h
parent 05e8db89
...@@ -19,6 +19,6 @@ class TestSiteStatus(unittest.TestCase): ...@@ -19,6 +19,6 @@ class TestSiteStatus(unittest.TestCase):
# Assert success # Assert success
self.assertTrue(self.status_dict['success']) self.assertTrue(self.status_dict['success'])
def test_build_time_less_6h(self): def test_build_time(self):
# Check that site was built in less than 6h """Asserts that site was built in less than 3h"""
self.assertLess(self.status_dict['duration'], (3600. * 6)) self.assertLess(self.status_dict['duration'], (3600. * 3))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment