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

Function test_name_invalid_underscore

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

Source from the content-addressed store, hash-verified

150
151
152def test_name_invalid_underscore(tmp_path):
153 sd = tmp_path / "bad_name"
154 sd.mkdir()
155 (sd / "SKILL.md").write_text(
156 "---\nname: bad_name\ndescription: A nice long description here.\n---\n"
157 )
158 result = validate_skill(sd)
159 assert not result.passed
160 assert any("kebab-case" in e for e in result.errors)
161
162
163def test_name_missing(tmp_path):

Callers

nothing calls this directly

Calls 1

validate_skillFunction · 0.90

Tested by

no test coverage detected