Stop collecting information and finalize the report. :param bool failed: Whether the step execution is failed.
(self, failed: bool)
| 50 | } |
| 51 | |
| 52 | def finalize(self, failed: bool) -> None: |
| 53 | """Stop collecting information and finalize the report. |
| 54 | |
| 55 | :param bool failed: Whether the step execution is failed. |
| 56 | """ |
| 57 | self.stopped = time.perf_counter() |
| 58 | self.failed = failed |
| 59 | |
| 60 | @property |
| 61 | def duration(self) -> float: |
no outgoing calls
no test coverage detected