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

Method test_install_default_priority

tests/test_presets.py:739–746  ·  view source on GitHub ↗

Test that default priority is 10.

(self, project_dir, pack_dir)

Source from the content-addressed store, hash-verified

737 assert metadata["priority"] == 5
738
739 def test_install_default_priority(self, project_dir, pack_dir):
740 """Test that default priority is 10."""
741 manager = PresetManager(project_dir)
742 manager.install_from_directory(pack_dir, "0.1.5")
743
744 metadata = manager.registry.get("test-pack")
745 assert metadata is not None
746 assert metadata["priority"] == 10
747
748 def test_list_installed_includes_priority(self, project_dir, pack_dir):
749 """Test that list_installed includes priority."""

Callers

nothing calls this directly

Calls 3

PresetManagerClass · 0.90
getMethod · 0.45

Tested by

no test coverage detected