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

Method test_install_with_priority

tests/test_presets.py:730–737  ·  view source on GitHub ↗

Test installing a pack with custom priority.

(self, project_dir, pack_dir)

Source from the content-addressed store, hash-verified

728 manager.check_compatibility(manifest, "0.1.5")
729
730 def test_install_with_priority(self, project_dir, pack_dir):
731 """Test installing a pack with custom priority."""
732 manager = PresetManager(project_dir)
733 manager.install_from_directory(pack_dir, "0.1.5", priority=5)
734
735 metadata = manager.registry.get("test-pack")
736 assert metadata is not None
737 assert metadata["priority"] == 5
738
739 def test_install_default_priority(self, project_dir, pack_dir):
740 """Test that default priority is 10."""

Callers

nothing calls this directly

Calls 3

PresetManagerClass · 0.90
getMethod · 0.45

Tested by

no test coverage detected