(self, test, err, capt=None)
| 21 | self.options = options |
| 22 | |
| 23 | def addError(self, test, err, capt=None): |
| 24 | test_logpath = self.options.log_path + "/" + test.id() |
| 25 | if not os.path.exists(test_logpath): |
| 26 | os.makedirs(test_logpath) |
| 27 | file_name = "%s/%s" % (test_logpath, self.logfile_name) |
| 28 | basic_info_file = open(file_name, mode="w+", encoding="utf-8") |
| 29 | self.__log_test_error_data(basic_info_file, test, err, "Error") |
| 30 | basic_info_file.close() |
| 31 | |
| 32 | def addFailure(self, test, err, capt=None, tbinfo=None): |
| 33 | test_logpath = self.options.log_path + "/" + test.id() |
nothing calls this directly
no test coverage detected