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

Function test_append

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

Source from the content-addressed store, hash-verified

79
80
81def 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
88def test_reset(tmp_path):

Callers

nothing calls this directly

Calls 1

_fFunction · 0.70

Tested by

no test coverage detected