mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 18:47:53 -06:00
refactor: system names and guides below packs
This commit is contained in:
1 parent
4037c537cc
commit
29f5c48a2c
44 files changed
+1437
-1382
No files matched your search
@@ -39,6 +39,7 @@ import json
|
||||
|
||||
import generate_site as gs
|
||||
import siterender
|
||||
from model import systemnames
|
||||
import validate_site
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parents[1]
|
||||
@@ -222,7 +223,7 @@ class TheIndexNamesEmulatorsAndSystems(unittest.TestCase):
|
||||
self.assertNotIn("| Engine |", page)
|
||||
self.assertNotIn(" -- ", page)
|
||||
row = next(line for line in page.splitlines() if line.startswith("| [DuckStation]"))
|
||||
self.assertIn(f"[{siterender.system_name('sony-playstation')}]", row)
|
||||
self.assertIn(f"[{systemnames.system_name('sony-playstation')}]", row)
|
||||
self.assertIn("(../systems/sony.md#playstation)", row)
|
||||
self.assertNotIn("sony-playstation |", row)
|
||||
|
||||
|
||||
Reference in new issue
Block a user