(self)
| 287 | |
| 288 | class 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("") |
nothing calls this directly
no test coverage detected