fix: print the declared CRC32 on platform pages

This commit is contained in:
Abdessamad Derraz committed 2026-10-18 17:19:58 +02:00
1 parent d5dd16dbdb
commit bfc7101166
2 files changed
+19 -2

No files matched your search

+12
View File
@@ -242,5 +242,17 @@ class TheHomeTitleSaysWhatTheSiteIs(unittest.TestCase):
self.assertIn("BIOS", title)
class PlatformPagesPrintTheDeclaredCrc32(unittest.TestCase):
"""System.dat pins aes.zip by crc32 91e93107; the RetroArch page printed
only its sha1 and md5, so the crc a clrmamepro user pastes found nothing."""
def test_the_rendered_page(self):
page = ROOT / "docs" / "platforms" / "retroarch.md"
if not page.is_file():
self.skipTest("site not generated")
self.assertIn("CRC32: `91e93107`", page.read_text(encoding="utf-8"))
if __name__ == "__main__":
unittest.main()