chore: drop a fixed count from the emulator nav

This commit is contained in:
Abdessamad Derraz committed 2026-10-23 02:18:47 +02:00
1 parent 8aa1e1cea1
commit 8b6a5d8a8e
2 files changed
+3 -4

No files matched your search

+1 -2
View File
@@ -136,7 +136,7 @@ class EmulatorsOneLevelDeep(unittest.TestCase):
self.assertEqual(nav, ["emulators/index.md", {"D": [
{"Dolphin": "emulators/dolphin.md"}, {"DuckStation": "emulators/duckstation.md"}]}])
def test_no_initial_holds_more_than_sixty(self):
def test_every_initial_holds_pages(self):
from common import load_emulator_profiles
nav = generate_site._emulator_nav(load_emulator_profiles(str(REPO_ROOT / "emulators")))
@@ -144,7 +144,6 @@ class EmulatorsOneLevelDeep(unittest.TestCase):
(label, pages), = group.items()
with self.subTest(initial=label):
self.assertTrue(all(isinstance(next(iter(p.values())), str) for p in pages))
self.assertLessEqual(len(pages), 60)
class OneNextPerPage(unittest.TestCase):