MCPcopy Create free account
hub / github.com/Claw-AI-Lab/Claw-AI-Lab / open

Method open

backend/agent/tests/test_rc_executor.py:196–198  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

194 assert "synth content" in text
195
196
197def test_read_prior_artifact_finds_newest_file(run_dir: Path) -> None:
198 _write_prior_artifact(run_dir, 1, "goal.md", "old")
199 _write_prior_artifact(run_dir, 3, "goal.md", "new")
200 found = rc_executor._read_prior_artifact(run_dir, "goal.md")
201 assert found == "new"

Calls 1

FakeDocumentClass · 0.85

Tested by

no test coverage detected