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

Function test_no_frontmatter

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

Source from the content-addressed store, hash-verified

102
103
104def test_no_frontmatter(tmp_path):
105 sd = _write_skill(tmp_path, "no-fm", frontmatter=None, body="# just a body\n")
106 result = validate_skill(sd)
107 assert not result.passed
108 assert any("frontmatter" in e.lower() for e in result.errors)
109
110
111def test_malformed_yaml(tmp_path):

Callers

nothing calls this directly

Calls 2

validate_skillFunction · 0.90
_write_skillFunction · 0.70

Tested by

no test coverage detected