Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@monitors_step_required
def addSkip(self, test, reason):
super(SpiderMonitorResult, self).addSkip(test, reason)
self.write_item_result(test, reason)
@monitors_step_required
def addUnexpectedSuccess(self, test):
super(SpiderMonitorResult, self).addUnexpectedSuccess(test)
self.write_item_result(test)
@monitors_step_required
def addSkip(self, test, reason):
super(TextMonitorResult, self).addSkip(test, reason)
self.write_run_result(test, reason)
@monitors_step_required
def addError(self, test, error):
super(SpiderMonitorResult, self).addError(test, error)
self.write_item_result(test)
@monitors_step_required
def addExpectedFailure(self, test, error):
super(SpiderMonitorResult, self).addExpectedFailure(test, error)
self.write_item_result(test)
@monitors_step_required
def addUnexpectedSuccess(self, test):
super(TextMonitorResult, self).addUnexpectedSuccess(test)
self.write_run_result(test)
@monitors_step_required
def addError(self, test, error):
super(TextMonitorResult, self).addError(test, error)
self.write_run_result(test)
@monitors_step_required
def addFailure(self, test, error):
super(TextMonitorResult, self).addFailure(test, error)
self.write_run_result(test)
@monitors_step_required
def addSuccess(self, test):
super(SpiderMonitorResult, self).addSuccess(test)
self.write_item_result(test)
@monitors_step_required
def startTest(self, test):
super(TextMonitorResult, self).startTest(test)
self.write_run_start(test)