def addSuccess(self, test): """ Adds the pair (test, err) to either optional_successes or optional_failures depending on requirement specified. """ _TextTestResult.addSuccess(self, test) if config["publish"]: self.saveResult(test, "passed")
def addSuccess(self, test): _TextTestResult.addSuccess(self, test) self.successes.append(test)
def addSuccess(self, test): _TextTestResult.addSuccess(self, test) self._store_result(test, 'PASSED')
def addSuccess(self, test): self.resultWriter.addSuccess(test) _TextTestResult.addSuccess(self, test)