(path: Path, pages: list[str])
| 22 | |
| 23 | |
| 24 | def write_test_pdf(path: Path, pages: list[str]) -> None: |
| 25 | if fitz is None: |
| 26 | pytest.skip("PyMuPDF is required for PDF coverage integration tests.") |
| 27 | doc = fitz.open() |
| 28 | try: |
| 29 | for text in pages: |
| 30 | page = doc.new_page() |
| 31 | page.insert_text((72, 72), text) |
| 32 | doc.save(path) |
| 33 | finally: |
| 34 | doc.close() |
| 35 | |
| 36 | |
| 37 | def test_extract_evidence_outputs_ablation_evidence(tmp_path: Path) -> None: |
no test coverage detected