chore: name the slug omission in the schema

This commit is contained in:
Abdessamad Derraz committed 2026-10-09 23:18:36 +02:00
1 parent ed49b26c12
commit d3e3c08b6c
2 files changed
+6 -2

No files matched your search

+2 -1
View File
@@ -129,7 +129,8 @@
"hash_mismatch",
"not_found",
"external",
"user_provided"
"user_provided",
"no_platform_slug"
]
},
"cores": {
+4 -1
View File
@@ -1325,7 +1325,10 @@ class EveryManifestEntryIsFetchable(unittest.TestCase):
def test_an_unresolvable_file_is_recorded_as_omitted(self):
"""The reason must be one install.py knows how to report."""
allowed = {"hash_mismatch", "not_found", "external", "user_provided"}
allowed = {
"hash_mismatch", "not_found", "external", "user_provided",
"no_platform_slug",
}
for path in sorted((ROOT / "install").glob("*.json")):
with self.subTest(manifest=path.name):
data = json.loads(path.read_text())