(tmp_path)
| 102 | |
| 103 | |
| 104 | def test_restore_iteration_specific_n(tmp_path): |
| 105 | _make_skill(tmp_path, "demo", description="v1") |
| 106 | save_iteration(tmp_path, "demo") |
| 107 | _make_skill(tmp_path, "demo", description="v2") |
| 108 | save_iteration(tmp_path, "demo") |
| 109 | |
| 110 | restored = restore_iteration(tmp_path, "demo", n=1) |
| 111 | assert "v1" in (restored / "SKILL.md").read_text() |
| 112 | |
| 113 | |
| 114 | def test_restore_iteration_missing_raises(tmp_path): |
nothing calls this directly
no test coverage detected