Beispiel #1
0
 def printErrors(self):
     log.debug('printErrors called')
     _TextTestResult.printErrors(self)
     self.printErrorList('DEPRECATED', self.deprecated)
     self.printErrorList('SKIPPED', self.skip)
     log.debug('calling plugin reports')
     call_plugins(self.conf.plugins, 'report', self.stream)
Beispiel #2
0
 def printErrors(self):
     """Overrides to print all errorClasses errors as well.
     """
     _TextTestResult.printErrors(self)
     for cls in self.errorClasses.keys():
         storage, label, isfail = self.errorClasses[cls]
         self.printErrorList(label, storage)
     # Might get patched into a result with no config
     if hasattr(self, 'config'):
         self.config.plugins.report(self.stream)
Beispiel #3
0
 def printErrors(self):
     """Overrides to print all errorClasses errors as well.
     """
     _TextTestResult.printErrors(self)
     for cls in self.errorClasses.keys():
         storage, label, isfail = self.errorClasses[cls]
         self.printErrorList(label, storage)
     # Might get patched into a result with no config
     if hasattr(self, 'config'):
         self.config.plugins.report(self.stream)