MCPcopy Create free account
hub / github.com/NVIDIA/SkillSpector / test_single_skill_not_multi

Method test_single_skill_not_multi

tests/test_multi_skill.py:84–89  ·  view source on GitHub ↗

Directory with root SKILL.md is not multi-skill.

(self, single_skill_dir: Path)

Source from the content-addressed store, hash-verified

82 assert names == {"weather-lookup", "email-sender", "file-manager"}
83
84 def test_single_skill_not_multi(self, single_skill_dir: Path) -> None:
85 """Directory with root SKILL.md is not multi-skill."""
86 result = detect_skills(single_skill_dir)
87 assert result.is_multi_skill is False
88 assert result.has_root_skill is True
89 assert len(result.skills) == 0
90
91 def test_root_skill_overrides_nested(self, nested_with_root: Path) -> None:
92 """Root SKILL.md means it's a single skill even with nested SKILL.md."""

Callers

nothing calls this directly

Calls 1

detect_skillsFunction · 0.90

Tested by

no test coverage detected