mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-18 07:37:49 -06:00
fix: align tests with the new help and messages
The --skip-packs help and the validate_pr fetch error were reworded, and a batocera page with no tab bar is plain Markdown that keeps the underscore entity, read here as a browser shows it.
This commit is contained in:
1 parent
62ed48e0a1
commit
943add6df0
4 files changed
+9
-4
No files matched your search
@@ -422,7 +422,11 @@ class BuiltBatoceraPage(unittest.TestCase):
|
||||
# PlayStation's list is long enough to sit on a page of its own.
|
||||
pages = [main] + [p.read_text(encoding="utf-8") for p in
|
||||
(DIST / "platforms").glob("batocera-sony-playstation*/index.html")]
|
||||
html = "".join(pages)
|
||||
# Read as a browser shows it: a page with no tab bar is plain
|
||||
# Markdown, which keeps the entity a name's underscore is written as.
|
||||
import html as _html
|
||||
|
||||
html = _html.unescape("".join(pages))
|
||||
for text in ("Served by:", "scph1001_v20.bin", "https://github.com/stenzek/duckstation/blob/"):
|
||||
with self.subTest(text=text):
|
||||
self.assertTrue(text in html)
|
||||
|
||||
Reference in new issue
Block a user