示例#1
0
 def testAbortExec(self):
     test = TestExec()
     try:
         test.abort(False, "Abort test")
     except TestAbortError:
         pass
     except:
         self.failIf(True)
     else:
         self.failIf(True)
示例#2
0
 def testAbortExec(self):
     test = TestExec()
     try:
         test.abort(False, "Abort test")
     except TestAbortError:
         pass
     except:
         self.failIf(True)
     else:
         self.failIf(True)
示例#3
0
 def testPassAbortExec(self):
     test = TestExec()
     try:
         test.abort(True, "Abort test")
     except:
         self.failIf(True)
示例#4
0
 def testPassAbortExec(self):
     test = TestExec()
     try:
         test.abort(True, "Abort test")
     except:
         self.failIf(True)