Test unsupported schema version.
(self, temp_dir, valid_pack_data)
| 207 | PresetManifest(manifest_path) |
| 208 | |
| 209 | def test_wrong_schema_version(self, temp_dir, valid_pack_data): |
| 210 | """Test unsupported schema version.""" |
| 211 | valid_pack_data["schema_version"] = "2.0" |
| 212 | manifest_path = temp_dir / "preset.yml" |
| 213 | with open(manifest_path, 'w') as f: |
| 214 | yaml.dump(valid_pack_data, f) |
| 215 | with pytest.raises(PresetValidationError, match="Unsupported schema version"): |
| 216 | PresetManifest(manifest_path) |
| 217 | |
| 218 | def test_missing_pack_id(self, temp_dir, valid_pack_data): |
| 219 | """Test missing preset.id field.""" |
nothing calls this directly
no test coverage detected