Esempio n. 1
0
    def testMultipleEnable(self):
        if not can_autorun():
            return

        set_autorun(True)
        set_autorun(True)
        set_autorun(True)
        assert is_autorun()
Esempio n. 2
0
    def testDisable(self):
        if not can_autorun():
            return

        set_autorun(True)
        assert is_autorun()

        set_autorun(False)
        assert not is_autorun()