

def setUp(self):
    super(TimerEnableDisableTestCase, self).setUp()
    config_text = open(ST2_CONFIG_PATH).read()
    (self.cfg_fd, self.cfg_path) = tempfile.mkstemp()
    with open(self.cfg_path, 'w') as f:
        f.write(config_text)
    self.cmd = []
    self.cmd.extend(CMD)
    self.cmd.append(self.cfg_path)

dataset/ETHPy150Open StackStorm/st2/st2reactor/tests/integration/test_rules_engine.py TimerEnableDisableTestCase.setUp/original