fix: a refused installer said in fewer words

The first install page stays within its word budget, and the tests run
under Python 3.8.
This commit is contained in:
Abdessamad Derraz committed 2026-10-28 12:25:30 +01:00
1 parent 23804a8da3
commit 7713c365dc
3 files changed
+4 -6

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@ class ServedCopies(unittest.TestCase):
page = (REPO_ROOT / "wiki" / "first-install.md").read_text(encoding="utf-8")
answer = page.split("does not match its expected fingerprint.", 1)[1].split("###", 1)[0]
self.assertNotIn("cut short", answer)
self.assertIn("proxy or an antivirus", " ".join(answer.split()))
self.assertIn("something changed the file", answer)
def test_a_stale_pin_stops_the_build(self):
"""code_audit_21 P3-2: a pin that is not the installer's was served,