Beispiel #1
0
 def __init__(self, stream, descriptions, verbosity, config=None,
              errorClasses=None):
     if errorClasses is None:
         errorClasses = {}
     self.errorClasses = errorClasses
     if config is None:
         config = Config()
     self.config = config
     _TextTestResult.__init__(self, stream, descriptions, verbosity)
Beispiel #2
0
 def __init__(self, stream, descriptions, verbosity, config=None, errorClasses=None):
     if errorClasses is None:
         errorClasses = {}
     self.errorClasses = errorClasses
     if config is None:
         config = Config()
     self.config = config
     # self.blocked = []
     self.blocked = {"ERROR": [], "FAIL": []}
     _TextTestResult.__init__(self, stream, descriptions, verbosity)
Beispiel #3
0
 def __init__(self, base_result):
     _TextTestResult.__init__(
         self, self._StringIO(), True,
         base_result.dots + base_result.showAll*2)