mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-10 20:13:46 -06:00
chore: drop a fixed count from the emulator nav
This commit is contained in:
1 parent
8aa1e1cea1
commit
8b6a5d8a8e
2 files changed
+3
-4
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user