(tmp_path)
| 86 | |
| 87 | |
| 88 | def test_reset(tmp_path): |
| 89 | state = tmp_path / ".s-state" |
| 90 | (state / "x").mkdir(parents=True) |
| 91 | assert ckpt.main(["reset", str(state)]) == 0 |
| 92 | assert not state.exists() |
| 93 | assert ckpt.main(["reset", str(state)]) == 0 # idempotent |
| 94 | |
| 95 | |
| 96 | # ── input hardening ────────────────────────────────────────────────────────── |
nothing calls this directly
no outgoing calls
no test coverage detected