MCPcopy Index your code
hub / github.com/github/spec-kit / test_get_pack_not_installed

Method test_get_pack_not_installed

tests/test_presets.py:702–705  ·  view source on GitHub ↗

Test getting a non-installed pack returns None.

(self, project_dir)

Source from the content-addressed store, hash-verified

700 assert pack.id == "test-pack"
701
702 def test_get_pack_not_installed(self, project_dir):
703 """Test getting a non-installed pack returns None."""
704 manager = PresetManager(project_dir)
705 assert manager.get_pack("nonexistent") is None
706
707 def test_check_compatibility_valid(self, pack_dir, temp_dir):
708 """Test compatibility check with valid version."""

Callers

nothing calls this directly

Calls 2

get_packMethod · 0.95
PresetManagerClass · 0.90

Tested by

no test coverage detected