Ejemplo n.º 1
0
 def __init__(self, path, func):
     self.path = path
     FunctionTestCase.__init__(self, func)
Ejemplo n.º 2
0
 def formatTraceback(self, err):
     exctype, value, tb = err
     if not exctype == self.failureException or self.traceback is None:
         return FunctionTestCase.formatTraceback(self, err)
     return self.traceback
Ejemplo n.º 3
0
 def __init__(self, name, func, **args):
     self._name = name
     FunctionTestCase.__init__(self, func, **args)