Fix integration test: assign generated body to draft.code before materializing

This commit is contained in:
Denton Social
2026-09-24 01:29:18 -05:00
parent 9e365446a3
commit 5bdfa1d91d
+1
View File
@@ -177,6 +177,7 @@ def test_generate_skill_body_codegen(tmp_path):
tree,
)
print(f"generated {len(code)} bytes of skill body")
draft.code = code
store = SkillBodyStore(str(tmp_path / "skills"))
skill = materialize_skill(draft, "tracking", store)
assert callable(skill.predict) and callable(skill.act)