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

Function single_skill_dir

tests/test_multi_skill.py:42–49  ·  view source on GitHub ↗

Create a single-skill directory with root SKILL.md.

(tmp_path: Path)

Source from the content-addressed store, hash-verified

40
41@pytest.fixture
42def single_skill_dir(tmp_path: Path) -> Path:
43 """Create a single-skill directory with root SKILL.md."""
44 (tmp_path / "SKILL.md").write_text(
45 "---\nname: my-skill\ndescription: A test skill\n---\n# My Skill\n",
46 encoding="utf-8",
47 )
48 (tmp_path / "tool.py").write_text("# implementation\n", encoding="utf-8")
49 return tmp_path
50
51
52@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected