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

Method test_check_compatibility_valid

tests/test_presets.py:707–711  ·  view source on GitHub ↗

Test compatibility check with valid version.

(self, pack_dir, temp_dir)

Source from the content-addressed store, hash-verified

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."""
709 manager = PresetManager(temp_dir)
710 manifest = PresetManifest(pack_dir / "preset.yml")
711 assert manager.check_compatibility(manifest, "0.1.5") is True
712
713 def test_check_compatibility_prerelease(self, pack_dir, temp_dir):
714 """Test compatibility check allows prereleases and fails on boundary."""

Callers

nothing calls this directly

Calls 3

check_compatibilityMethod · 0.95
PresetManagerClass · 0.90
PresetManifestClass · 0.90

Tested by

no test coverage detected