mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-01 00:27:20 -05:00
fix: which-pack names the first screen in brief
The sentence fits the page's 400-word ceiling and its 20-word sentences. A test reading the site generator skips under Python 3.8, as the others do, and the core plan test names the cores --core gave.
This commit is contained in:
1 parent
ea214d9c01
commit
8e811582c1
3 files changed
+8
-7
No files matched your search
@@ -9880,6 +9880,7 @@ class AuditEighteenAndEleven(_CardFixtures, unittest.TestCase):
|
||||
"""P3-11."""
|
||||
state = checked_state()
|
||||
state.cli_systems, state.cores, state.regions = ["sony-playstation"], ["x"], ["us"]
|
||||
state.cli_cores = ["x"]
|
||||
text = " ".join(" ".join(install.tui_view(state, 120, 40)).split())
|
||||
self.assertIn("(--system), --core, --region.", text)
|
||||
|
||||
@@ -13934,6 +13935,8 @@ class AuditTwentyThreeAndSixteen(unittest.TestCase):
|
||||
|
||||
# Root cause 6: the pages say what the installer shows.
|
||||
|
||||
@unittest.skipIf(sys.version_info < (3, 9),
|
||||
"the site generator needs Python 3.9")
|
||||
def test_which_pack_names_the_first_screen(self):
|
||||
"""tui_audit_16 P3-10: which-pack said the command opens a screen
|
||||
where Install and Choose systems are, the second screen."""
|
||||
|
||||
@@ -167,7 +167,7 @@ class GetYourFilesOrder(unittest.TestCase):
|
||||
text = _page("which-pack.md")
|
||||
order = [text.index(mark) for mark in (
|
||||
"## Pick your setup", "| Setup | Runs on | BIOS folder | ZIP |", "<FilePicker",
|
||||
"## Not in the list? One command finds it", "The command asks **",
|
||||
"## Not in the list? One command finds it", "It asks **",
|
||||
"<summary>Is it safe?</summary>",
|
||||
)]
|
||||
self.assertEqual(order, sorted(order))
|
||||
|
||||
Reference in new issue
Block a user