MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_resolve_source_named

Function test_resolve_source_named

tests/workflow/test_workflow_tool.py:87–91  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

85
86
87def test_resolve_source_named(tmp_path):
88 wf_dir = tmp_path / ".claude" / "workflows"
89 wf_dir.mkdir(parents=True)
90 (wf_dir / "demo.py").write_text("named body", encoding="utf-8")
91 assert _resolve_source({"name": "demo"}, tmp_path) == ("named body", None)
92
93
94def test_resolve_source_errors():

Callers

nothing calls this directly

Calls 1

_resolve_sourceFunction · 0.90

Tested by

no test coverage detected