mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-20 18:59:07 -05:00
fix: print the declared CRC32 on platform pages
This commit is contained in:
1 parent
d5dd16dbdb
commit
bfc7101166
2 files changed
+19
-2
No files matched your search
@@ -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()
|
||||
Reference in new issue
Block a user