예제 #1
0
 def verifyException(self, e):
     message = log.getExceptionMessage(e)
     self.failUnless("func1()" in message)
     self.failUnless("test_log.py" in message)
     self.failUnless("TypeError" in message)
예제 #2
0
 def verifyException(self, e):
     message = log.getExceptionMessage(e)
     self.failUnless("func1()" in message)
     self.failUnless("test_log.py" in message)
     self.failUnless("TypeError" in message)