Interrupted runs record interrupted=true in the summary.
(self)
| 2728 | self.assertFalse(os.path.isfile(standalone)) |
| 2729 | |
| 2730 | def test_interrupted_report(self) -> None: |
| 2731 | """Interrupted runs record interrupted=true in the summary.""" |
| 2732 | |
| 2733 | report = self._make_report( |
| 2734 | summary=ExtractSummary(succeeded=0, skipped=0, failed=0, interrupted=True), |
| 2735 | ) |
| 2736 | _write_report(self._run_dir, report) |
| 2737 | |
| 2738 | data = self._read_report() |
| 2739 | self.assertTrue(data["summary"]["interrupted"]) |
| 2740 | |
| 2741 | def test_fatal_error_report(self) -> None: |
| 2742 | """Fatal errors are recorded in summary.fatal_error.""" |
nothing calls this directly
no test coverage detected