def test_delay_cycle(self):
        cur_time = time.time()

        self.assertTrue(self.check_started_list(cur_time, 0, True, False))  # all ok
        self.assertFalse(self.check_started_list(cur_time, 0, False, False))  # not prepared
        self.assertTrue(self.check_started_list(cur_time - 10, 5, True, False))  # time to run
        self.assertFalse(self.check_started_list(cur_time - 10, 20, True, False))  # too early
        self.assertFalse(self.check_started_list(cur_time - 10, 5, False, False))  # time to run but not prepared
dataset/ETHPy150Open Blazemeter/taurus/tests/modules/test_LocalProvisioning.py/LocalProvisioningTest.test_delay_cycle/original