def testAbortIfExec(self): test = TestExec() try: test.abortIf(True, "Abort test") except TestAbortError: pass except: self.failIf(True) else: self.failIf(True)
def testPassAbortIfExec(self): test = TestExec() try: test.abortIf(False, "Abort test") except: self.failIf(True)