(self, test, err, capt=None, tbinfo=None)
| 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() |
| 34 | if not os.path.exists(test_logpath): |
| 35 | os.makedirs(test_logpath) |
| 36 | file_name = "%s/%s" % (test_logpath, self.logfile_name) |
| 37 | basic_info_file = open(file_name, mode="w+", encoding="utf-8") |
| 38 | self.__log_test_error_data(basic_info_file, test, err, "Error") |
| 39 | basic_info_file.close() |
| 40 | |
| 41 | def __log_test_error_data(self, log_file, test, err, type): |
| 42 | data_to_save = [] |
nothing calls this directly
no test coverage detected