Пример #1
0
 def write(self):
     AbsoluteReport.write(self)
     markup = self.get_markup()
     if markup:
         print 'There has been a regression:'
         print
         print markup
         logging.critical('Regression found.')
Пример #2
0
 def write(self):
     AbsoluteReport.write(self)
     markup = self.get_markup()
     if markup:
         print 'There has been a regression:'
         print
         print markup
         logging.critical('Regression found.')
 def write(self):
     AbsoluteReport.write(self)
     markup = self.get_markup()
     if markup:
         print('There has been a regression:')
         print()
         print(markup)
     success = not markup
     self.result_handler(success)
Пример #4
0
 def write(self):
     if not len(self.configs) == 2:
         logging.error("Relative reports are only possible for 2 configs. " 'Selected configs: "%s"' % self.configs)
         sys.exit(1)
     AbsoluteReport.write(self)
Пример #5
0
 def write(self):
     if not len(self.configs) == 2:
         logging.error('Relative reports are only possible for 2 configs. '
                       'Selected configs: "%s"' % self.configs)
         sys.exit(1)
     AbsoluteReport.write(self)