

def test0LeftExceedFlags__execute(self):
    ' Timer.execute: 0 mins left, duration > total_duration\n            condition. testing short flags.\n            '
    args = self.ParsedArgs()
    args.short = True
    self.plugin.total_duration = 30
    self.env.task.duration = 99
    self.plugin.execute(self.env, args)
    self.assertEqual(self.env.io.test__write_data, '0\n')

dataset/ETHPy150Open xtrementl/focus/tests/unit/plugin/modules/test_timer.py TestTimer.test0LeftExceedFlags__execute/original