MCPcopy
hub / github.com/github/spec-kit / test_remove_nonexistent

Method test_remove_nonexistent

tests/test_presets.py:670–674  ·  view source on GitHub ↗

Test removing a pack that doesn't exist.

(self, project_dir)

Source from the content-addressed store, hash-verified

668 assert not installed_dir.exists()
669
670 def test_remove_nonexistent(self, project_dir):
671 """Test removing a pack that doesn't exist."""
672 manager = PresetManager(project_dir)
673 result = manager.remove("nonexistent")
674 assert result is False
675
676 def test_list_installed(self, project_dir, pack_dir):
677 """Test listing installed packs."""

Callers

nothing calls this directly

Calls 2

removeMethod · 0.95
PresetManagerClass · 0.90

Tested by

no test coverage detected