MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / test_name_invalid_uppercase

Function test_name_invalid_uppercase

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

Source from the content-addressed store, hash-verified

139
140
141def test_name_invalid_uppercase(tmp_path):
142 sd = tmp_path / "BadName"
143 sd.mkdir()
144 (sd / "SKILL.md").write_text(
145 "---\nname: BadName\ndescription: A nice long description here.\n---\n"
146 )
147 result = validate_skill(sd)
148 assert not result.passed
149 assert any("kebab-case" in e for e in result.errors)
150
151
152def test_name_invalid_underscore(tmp_path):

Callers

nothing calls this directly

Calls 1

validate_skillFunction · 0.90

Tested by

no test coverage detected