MCPcopy Create free account
hub / github.com/Lap-Platform/LAP / test_basic

Method test_basic

tests/test_toollean.py:289–298  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

287
288class TestSkillMDCompiler:
289 def test_basic(self):
290 spec = compile_skill_md(SKILL_MD_FIXTURE)
291 assert spec.name == "weather"
292 assert "weather" in spec.description.lower() or "city" in spec.description.lower()
293 assert spec.auth == "apikey"
294 assert "weather" in spec.tags
295 assert len(spec.inputs) == 2
296 assert spec.inputs[0].name == "location"
297 assert spec.inputs[0].type == "str"
298 assert len(spec.examples) == 1
299
300 def test_empty_skill(self):
301 spec = compile_skill_md("")

Callers

nothing calls this directly

Calls 1

compile_skill_mdFunction · 0.90

Tested by

no test coverage detected