test: validate full Archipelago ngit promotion path

This commit is contained in:
archipelago
2026-09-13 01:45:22 -04:00
parent c9bae926a5
commit 4ad34d3a0a
+1 -1
View File
@@ -104,7 +104,7 @@ if "archipelago-source" not in apps:
source_promotions = [item for item in promotions if item.get("id") == "archipelago-source"] source_promotions = [item for item in promotions if item.get("id") == "archipelago-source"]
if not source_promotions: if not source_promotions:
raise SystemExit("registry candidate omits the Archipelago source promotion") raise SystemExit("registry candidate omits the Archipelago source promotion")
expected_path = "/npub1w3sqdkrhn0gyuvsex32effzgnfpyde6qrrc4u467flg5e9txh4wsfn5vjg/archy" expected_path = "/npub1w3sqdkrhn0gyuvsex32effzgnfpyde6qrrc4u467flg5e9txh4wsfn5vjg/relay.ngit.dev/archy"
if source_promotions[0].get("path") != expected_path: if source_promotions[0].get("path") != expected_path:
raise SystemExit("source promotion does not open the canonical Archipelago repository") raise SystemExit("source promotion does not open the canonical Archipelago repository")
print("registry candidate includes GitWorkshop and its source promotion") print("registry candidate includes GitWorkshop and its source promotion")