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

Method test_nonexistent_path

tests/test_multi_skill.py:127–130  ·  view source on GitHub ↗

Non-existent path returns not multi-skill.

(self, tmp_path: Path)

Source from the content-addressed store, hash-verified

125 assert "hidden" not in names
126
127 def test_nonexistent_path(self, tmp_path: Path) -> None:
128 """Non-existent path returns not multi-skill."""
129 result = detect_skills(tmp_path / "does-not-exist")
130 assert result.is_multi_skill is False
131
132 def test_skill_directory_paths_are_absolute(self, multi_skill_dir: Path) -> None:
133 """SkillDirectory.path should be an absolute path."""

Callers

nothing calls this directly

Calls 1

detect_skillsFunction · 0.90

Tested by

no test coverage detected