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

Function nested_with_root

tests/test_multi_skill.py:53–65  ·  view source on GitHub ↗

A directory with root SKILL.md AND sub-skill SKILL.md files.

(tmp_path: Path)

Source from the content-addressed store, hash-verified

51
52@pytest.fixture
53def nested_with_root(tmp_path: Path) -> Path:
54 """A directory with root SKILL.md AND sub-skill SKILL.md files."""
55 (tmp_path / "SKILL.md").write_text(
56 "---\nname: parent-skill\n---\n# Parent\n",
57 encoding="utf-8",
58 )
59 sub = tmp_path / "sub-skill"
60 sub.mkdir()
61 (sub / "SKILL.md").write_text(
62 "---\nname: sub-skill\n---\n# Sub\n",
63 encoding="utf-8",
64 )
65 return tmp_path
66
67
68class TestDetectSkills:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected