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

Function test_skill_md_too_big

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

Source from the content-addressed store, hash-verified

215
216
217def test_skill_md_too_big(tmp_path):
218 sd = _write_skill(
219 tmp_path,
220 "big-skill",
221 skill_md_bytes=SKILL_MD_MAX_BYTES + 1,
222 )
223 result = validate_skill(sd)
224 assert not result.passed
225 assert any("SKILL.md" in e and "bytes" in e for e in result.errors)
226
227
228def test_reference_too_big(tmp_path):

Callers

nothing calls this directly

Calls 2

validate_skillFunction · 0.90
_write_skillFunction · 0.70

Tested by

no test coverage detected