mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-16 14:47:49 -06:00
docs: which-pack names the folder in fewer words
This commit is contained in:
1 parent
27bd4f1a50
commit
1cc12d8e2a
5 files changed
+11
-11
No files matched your search
@@ -187,7 +187,7 @@ class InstallerSamplesSayWhatTheCodePrints(unittest.TestCase):
|
||||
refused = _generated(page, "check-refused")
|
||||
self.assertRegex(refused, r"\n \d+ files? [a-z ]+:\n")
|
||||
self.assertIn("read by beetle_psx, pcsx_rearmed at", refused)
|
||||
self.assertNotIn("opened at", page)
|
||||
self.assertNotRegex(page, r"opened at /\S+ by ")
|
||||
self.assertIn('"read by ', inspect.getsource(install.opened_line))
|
||||
ending = _generated(page, "from-run")
|
||||
self.assertRegex(ending, r"Done\. \d+ files installed\.\n \d+ files copied from ")
|
||||
|
||||
@@ -11816,7 +11816,9 @@ class AuditTwentyAndThirteen(unittest.TestCase):
|
||||
self.assertEqual(said.returncode, 1, said.stdout + said.stderr)
|
||||
self.assertIn("No supported platform detected: RetroArch was not found here, and "
|
||||
"the pack does not say where it goes.", said.stderr)
|
||||
alone = install_run("--yes", env=env)
|
||||
# The standalone emulators' lists come from the network: offline,
|
||||
# no request leaves the machine (code_audit_24 P3-13).
|
||||
alone = install_run("--yes", env={**env, install.OFFLINE_VARIABLE: "1"})
|
||||
self.assertIn("No supported platform detected", alone.stdout + alone.stderr)
|
||||
hint = install._manual_usage_hint("linux")
|
||||
self.assertTrue(hint[0].startswith(" Name the setup with --platform and its folder "
|
||||
|
||||
@@ -160,8 +160,7 @@ class SetupPagesOfferPartOfThePack(unittest.TestCase):
|
||||
self.assertIn(f"/retrobios/which-pack/?platform={key}#only-some-consoles", text)
|
||||
# The screen's own row: the line menu's c is not what the
|
||||
# one-liner opens.
|
||||
self.assertIn("or run the command: **Choose systems** is on its second "
|
||||
"screen.", text)
|
||||
self.assertIn("or the command's **Choose systems**.", text)
|
||||
# Never "choose **Choose systems**" (tui_audit_17 P3-9).
|
||||
self.assertNotIn("choose **Choose systems**", text)
|
||||
|
||||
|
||||
@@ -279,6 +279,7 @@ class EveryTestDependencyIsInstalledInCi(unittest.TestCase):
|
||||
{p.stem for p in (root / "scripts").rglob("*.py")}
|
||||
| {p.name for p in (root / "scripts").iterdir() if p.is_dir()}
|
||||
| {p.stem for p in (root / "tests").glob("*.py")}
|
||||
| {p.name for p in (root / "tests").iterdir() if p.is_dir()}
|
||||
| {"scripts", "tests", "install"}
|
||||
)
|
||||
imported: set[str] = set()
|
||||
|
||||
Reference in new issue
Block a user