(tmp_path)
| 79 | |
| 80 | |
| 81 | def test_append(tmp_path): |
| 82 | out = tmp_path / "FINDINGS.md" |
| 83 | for chunk in ("# header", "## finding 1\nbody"): |
| 84 | ckpt.main(["append", str(out), "--from", _f(tmp_path, chunk)]) |
| 85 | assert out.read_text() == "# header\n## finding 1\nbody\n" |
| 86 | |
| 87 | |
| 88 | def test_reset(tmp_path): |