81
81
sleep_mock.mock_calls, [call(0.1), call(0.1)])
83
83
def test_duration_elapsed(self):
85
85
middle = start + datetime.timedelta(seconds=57.4)
86
86
end = start + datetime.timedelta(seconds=57.6)
87
87
with self.patch_po() as (po_mock, poll_mock, sleep_mock):