(self, test, capt)
| 283 | ) |
| 284 | |
| 285 | def addSuccess(self, test, capt): |
| 286 | if self.report_on: |
| 287 | self.duration = str( |
| 288 | "%.2fs" % (float(time.time()) - float(self.start_time)) |
| 289 | ) |
| 290 | self.successes.append(test.id()) |
| 291 | self.page_results_list.append( |
| 292 | report_helper.process_successes( |
| 293 | test, self.test_count, self.duration |
| 294 | ) |
| 295 | ) |
| 296 | |
| 297 | def add_fails_or_errors(self, test, err): |
| 298 | if self.report_on: |