fix: align tests with the ten-value pack result

Two test modules still unpacked nine values from verify_pack_against_platform. The category evidence joined readers with semicolons, which the prose rule refuses on generated pages, and three comments used clause semicolons.
This commit is contained in:
Abdessamad Derraz committed 2026-10-22 06:23:15 +02:00
1 parent 8ba65de1ca
commit a0b27d612d
7 files changed
+13 -13

No files matched your search

+3 -3
View File
@@ -2067,13 +2067,13 @@ def _category_evidence_md(evidence: dict) -> str:
readers = []
for reader in evidence["read_by"]:
refs = [
f"`{e['name']}` (`{e['source_ref']}`)" if e.get("source_ref") else f"`{e['name']}`"
f"`{e['name']}` at `{e['source_ref']}`" if e.get("source_ref") else f"`{e['name']}`"
for e in reader.get("entries", [])
]
name = (_emulator_link(reader["emulator"], "../")
if reader["emulator"] != "launcher" else "the platform's launcher")
readers.append(f"{name}: {', '.join(refs)}" if refs else f"{name} (by {reader['proof']})")
return "Read by " + "; ".join(readers)
readers.append(f"{name} ({', '.join(refs)})" if refs else f"{name} (by {reader['proof']})")
return "Read by " + ", ".join(readers)
examined = evidence.get("cores_examined") or []
cores = ("cores examined: " + ", ".join(_emulator_link(c, "../") for c in examined)
if examined else "no core examined")