(
self,
stream,
descriptions,
verbosity,
results_file_path,
result_screenshots_dir,
show_previous_results,
config,
test_types,
)
| 212 | _pass_percentage_significant_digits = 2 |
| 213 | |
| 214 | def __init__( |
| 215 | self, |
| 216 | stream, |
| 217 | descriptions, |
| 218 | verbosity, |
| 219 | results_file_path, |
| 220 | result_screenshots_dir, |
| 221 | show_previous_results, |
| 222 | config, |
| 223 | test_types, |
| 224 | ): |
| 225 | super(CustomTextTestResult, self).__init__(stream, descriptions, verbosity) |
| 226 | store_class_fields(self, locals()) |
| 227 | self.show_overall_results = verbosity > 0 |
| 228 | self.show_test_info = verbosity > 1 |
| 229 | self.show_individual_suite_results = verbosity > 2 |
| 230 | self.show_errors = verbosity > 3 |
| 231 | self.show_errors_detail = verbosity > 4 |
| 232 | self.show_all = verbosity > 4 |
| 233 | self.suite = None |
| 234 | self.total_execution_time = 0 |
| 235 | self.separator1 = "=" * CustomTextTestResult._num_formatting_chars |
| 236 | self.separator2 = "-" * CustomTextTestResult._num_formatting_chars |
| 237 | self.separator3 = "_" * CustomTextTestResult._num_formatting_chars |
| 238 | self.separator4 = "*" * CustomTextTestResult._num_formatting_chars |
| 239 | self.separator_failure = "!" * CustomTextTestResult._num_formatting_chars |
| 240 | self.separator_pre_result = "." * CustomTextTestResult._num_formatting_chars |
| 241 | |
| 242 | def getDescription(self, test): |
| 243 | doc_first_line = test.shortDescription() |
nothing calls this directly
no test coverage detected