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

Function test_name_missing

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

Source from the content-addressed store, hash-verified

161
162
163def test_name_missing(tmp_path):
164 sd = _write_skill(
165 tmp_path,
166 "no-name-field",
167 frontmatter="description: A nice long description here.",
168 )
169 result = validate_skill(sd)
170 assert not result.passed
171 assert any("name" in e for e in result.errors)
172
173
174# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

validate_skillFunction · 0.90
_write_skillFunction · 0.70

Tested by

no test coverage detected