Ejemplo n.º 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)
Ejemplo n.º 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)