def addSkip(self, test, reason): """Called when a test is skipped.""" TestResult.addSkip(self, test, reason) if self.verbose: self.stream.write("skipped (%s)\n" % reason) else: self.stream.write("s") self.stream.flush()
def addSkip(self, test, reason): TestResult.addSkip(self, test, reason) self.output.write("skipped %s - %s\n" % (self.getTestName(test), reason)) #TODO: "testIgnored" should be replaced by "testSkipped" when implemented self.messages.testIgnored(self.getTestName(test), reason)