mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-29 01:03:27 -06:00
Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc9fd456b7 | ||
|
|
684d86b78d | ||
|
|
5b43c2abc8 | ||
|
|
ab65ee8eb8 | ||
|
|
9b9c956068 | ||
|
|
476448d7d9 | ||
|
|
26f9783d11 | ||
|
|
b7cb2c97dd | ||
|
|
fd10b86cc2 | ||
|
|
17cb3c83d9 |
@@ -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