def startTest(self, result, device): """ Signals start of execution of a test. """ TestResultChannel.startTest(self, result, device) if self.isEnabled(): self._console.startTest(result, device)
def startTest(self, result, device): ''' Processes a test start execution for the summary channel. ''' TestResultChannel.startTest(self, result, device) if isinstance(result, TestCaseResult): self._counters[STATUS_NOT_COMPLETED] += 1 self._counters[COUNTER_TESTS_RUN] += 1
def startTest(self, result, device): ''' Processes a test start execution for the summary channel. ''' TestResultChannel.startTest(self, result, device) if isinstance(result, TestCaseResult): self._counters[STATUS_NOT_COMPLETED] += 1 self._counters[COUNTER_TESTS_RUN] += 1
def startTest(self, result, device): ''' Processes a test start execution for the stream channel. ''' TestResultChannel.startTest(self, result, device) formatters = (self._verboseFormats if self.isVerbose() else self._simpleFormats) self.write(self._format(result, formatters["start"], formatters, self._deviceAttrs(device))) self.write(self._formatResult(result, formatters, self._deviceAttrs(device)))
def startTest(self, result, device): ''' Signals start of execution of a test. ''' TestResultChannel.startTest(self, result, device) self._result.startTest(result, device)
def startTest(self, result, device): ''' Signals start of execution of a test. ''' TestResultChannel.startTest(self, result, device) self._result.startTest(result, device)