(self, options, conf)
| 197 | ) |
| 198 | |
| 199 | def configure(self, options, conf): |
| 200 | super().configure(options, conf) |
| 201 | self.enabled = True # Used if test class inherits BaseCase |
| 202 | self.options = options |
| 203 | self.report_on = options.report |
| 204 | self.show_report = options.show_report |
| 205 | self.successes = [] |
| 206 | self.failures = [] |
| 207 | self.start_time = float(0) |
| 208 | self.duration = float(0) |
| 209 | self.page_results_list = [] |
| 210 | self.test_count = 0 |
| 211 | log_path = constants.Logs.LATEST + "/" |
| 212 | archive_logs = options.archive_logs |
| 213 | log_helper.log_folder_setup(log_path, archive_logs) |
| 214 | download_helper.reset_downloads_folder() |
| 215 | sb_config.is_nosetest = True |
| 216 | if self.report_on: |
| 217 | report_helper.clear_out_old_report_logs(archive_past_runs=False) |
| 218 | |
| 219 | def beforeTest(self, test): |
| 220 | sb_config._context_of_runner = False # Context Manager Compatibility |
no outgoing calls
no test coverage detected