mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-01 07:33:45 -06:00
feat: show platform probes in the Tested markup
This commit is contained in:
1 parent
d7e17491f0
commit
a2d30046f2
2 files changed
+70
-23
No files matched your search
@@ -240,9 +240,19 @@ class SitePages(unittest.TestCase):
|
||||
self.assertIn("| retroarch | sega-saturn | pack | <code>mednafen_saturn</code> | Game (Japan) "
|
||||
"| `boots` | 1 | [line](", explorer)
|
||||
page = sm.pack_tested_section(sm.by_platform({"packs": items})["retroarch"])
|
||||
text = "\n".join(page)
|
||||
self.assertEqual(page[0], "## Tested")
|
||||
self.assertIn("../wiki/measurements.md#packs", page[2])
|
||||
self.assertNotIn("| retroarch |", "\n".join(page))
|
||||
self.assertIn("1 game start with this BIOS folder as you install it · 1 work · last run 2026-10-28.",
|
||||
text)
|
||||
self.assertIn("wiki/measurements/#packs", text)
|
||||
# The emulator pages' row markup and chip, the install path in the third column.
|
||||
self.assertIn('<span class="rb-tested-result"><span class="rb-badge rb-badge-success">works</span>',
|
||||
text)
|
||||
self.assertIn('<span class="rb-tested-variants">pack</span>', text)
|
||||
self.assertIn("sega-saturn, Game <small>mednafen_saturn</small>", text)
|
||||
self.assertIn("<strong>Files the core opened:</strong> sega_101.bin (sega_101.bin).", text)
|
||||
self.assertIn("<strong>Findings:</strong> missing_declared x.bin.", text)
|
||||
self.assertNotIn("| retroarch |", text)
|
||||
self.assertEqual(sm.pack_tested_section([]), [])
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user