MCPcopy Create free account
hub / github.com/anthropics/defending-code-reference-harness / test_reset

Function test_reset

tests/test_skill_checkpoint.py:88–93  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

86
87
88def 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 ──────────────────────────────────────────────────────────

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected