def testMultipleEnable(self): if not can_autorun(): return set_autorun(True) set_autorun(True) set_autorun(True) assert is_autorun()
def testDisable(self): if not can_autorun(): return set_autorun(True) assert is_autorun() set_autorun(False) assert not is_autorun()