Exemple #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)
Exemple #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)
Exemple #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)