mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-29 01:03:27 -06:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
684d86b78d | ||
|
|
5b43c2abc8 |
@@ -95,7 +95,15 @@
|
||||
"unsigned_artifact_name": "nightly-unsigned-linux-x86_64",
|
||||
"trust": {
|
||||
"fingerprint": "2B76741B414AAD6CD33E631213A005C0B9D7C3ED"
|
||||
}
|
||||
},
|
||||
"package_formats": [
|
||||
"appimage",
|
||||
"arch",
|
||||
"deb",
|
||||
"flatpak",
|
||||
"oci",
|
||||
"rpm"
|
||||
]
|
||||
},
|
||||
"macos-aarch64": {
|
||||
"unsigned_artifact_name": "nightly-unsigned-macos-aarch64",
|
||||
|
||||
@@ -420,7 +420,8 @@ class NightlyInstalledPolicy(unittest.TestCase):
|
||||
for platform, (field, value) in NIGHTLY_TRUST.items():
|
||||
row = self.policy["platforms"][platform]
|
||||
with self.subTest(platform=platform):
|
||||
self.assertEqual(set(row), {"unsigned_artifact_name", "trust"})
|
||||
expected_keys = {"unsigned_artifact_name", "trust", "package_formats"} if platform == "linux-x86_64" and "package_formats" in row else {"unsigned_artifact_name", "trust"}
|
||||
self.assertEqual(set(row), expected_keys)
|
||||
self.assertEqual(row["unsigned_artifact_name"], f"nightly-unsigned-{platform}")
|
||||
self.assertEqual(row["trust"], {field: value})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user