diff --git a/scripts/generate_site.py b/scripts/generate_site.py index bbca89d58..b951e8a2d 100644 --- a/scripts/generate_site.py +++ b/scripts/generate_site.py @@ -3941,12 +3941,10 @@ def first_screen_words() -> list[str]: since.""" installer = _installer() # The screen it opens first: the setup found, or the list when none - # is. Install and Choose systems come on the next one (tui_audit_16 - # P3-10). - return [f"The command asks **{installer.TUI_FOUND_TITLE}** with the setup it found, " - f"or **{installer.TUI_CHOOSE_TITLE}** with a list when it finds none. Then " - f"**{installer.TUI_INSTALL_ROW}** gets every file, " - f"**{installer.TUI_SYSTEMS_ROW}** only the consoles you pick."] + # is. Install comes on the next one, Choose systems beside it and named + # above on the page (tui_audit_16 P3-10). + return [f"It asks **{installer.TUI_FOUND_TITLE}** (or **{installer.TUI_CHOOSE_TITLE}**), " + f"then offers **{installer.TUI_INSTALL_ROW}**."] def check_pass_line() -> str: diff --git a/tests/test_install_tui.py b/tests/test_install_tui.py index f4cf5099a..98932609d 100644 --- a/tests/test_install_tui.py +++ b/tests/test_install_tui.py @@ -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.""" diff --git a/tests/test_site_r2_entry.py b/tests/test_site_r2_entry.py index cda36db3f..c70bc16da 100644 --- a/tests/test_site_r2_entry.py +++ b/tests/test_site_r2_entry.py @@ -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 |", "Is it safe?", )] self.assertEqual(order, sorted(order))