MCPcopy Index your code
hub / github.com/VectifyAI/OpenKB / test_frontmatter_not_mapping

Function test_frontmatter_not_mapping

tests/test_skill_validator.py:118–122  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

116
117
118def test_frontmatter_not_mapping(tmp_path):
119 sd = _write_skill(tmp_path, "list-fm", frontmatter="- one\n- two")
120 result = validate_skill(sd)
121 assert not result.passed
122 assert any("mapping" in e for e in result.errors)
123
124
125# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

validate_skillFunction · 0.90
_write_skillFunction · 0.70

Tested by

no test coverage detected