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

Function test_name_mismatch_with_directory

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

Source from the content-addressed store, hash-verified

128
129
130def test_name_mismatch_with_directory(tmp_path):
131 sd = _write_skill(
132 tmp_path,
133 "dir-name",
134 frontmatter="name: other-name\ndescription: A nice long description here.",
135 )
136 result = validate_skill(sd)
137 assert not result.passed
138 assert any("doesn't match directory" in e for e in result.errors)
139
140
141def test_name_invalid_uppercase(tmp_path):

Callers

nothing calls this directly

Calls 2

validate_skillFunction · 0.90
_write_skillFunction · 0.70

Tested by

no test coverage detected