mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-11 04:23:47 -06:00
fix: line mode and screen share one decision
Answers code_audit_17 and tui_audit_10: the folder found after o, SHARE drive roots, one same-choice command, a counted confirm step in line mode, counts from the narrowed list, read-only advice without sudo, systems recorded in packs, Ctrl-Z stopping the whole job, and the wording, layout and docs items.
This commit is contained in:
1 parent
78a5aca760
commit
31c574aab0
30 files changed
+2229
-412
No files matched your search
@@ -3945,8 +3945,8 @@ class PlatformsAreNamedAsTheyNameThemselves(unittest.TestCase):
|
||||
contextlib.redirect_stdout(out):
|
||||
install._prompt_platform_choice(
|
||||
[("misterfpga", Path("/m")), ("retrodeck", Path("/r"))])
|
||||
self.assertIn("MiSTer FPGA (/m)", out.getvalue())
|
||||
self.assertIn("RetroDECK (/r)", out.getvalue())
|
||||
self.assertIn("MiSTer FPGA: /m", out.getvalue())
|
||||
self.assertIn("RetroDECK: /r", out.getvalue())
|
||||
self.assertEqual(install.display_name("romm", {"display_name": "RomM"}), "RomM")
|
||||
self.assertEqual(install.display_name("romm", {"display_name": "\x1b[2J"}), "RomM")
|
||||
|
||||
@@ -5176,6 +5176,9 @@ class EventsDescribeTheRun(unittest.TestCase, _SyntheticTree):
|
||||
{"event": "detect", "os": "linux", "os_name": install._os_name(),
|
||||
"platforms": [{"platform": "retroarch", "name": "RetroArch",
|
||||
"bios_dir": str(self.bios)}]},
|
||||
# The systems Choose systems lists, before the files are read.
|
||||
{"event": "choices", "platform": "retroarch",
|
||||
"systems": ["sys-a", "sys-b", "other"]},
|
||||
# a.bin and b.bin are in place: the first read and the last.
|
||||
{"event": "checking", "files_done": 1, "files_total": 2},
|
||||
{"event": "checking", "files_done": 2, "files_total": 2},
|
||||
|
||||
Reference in new issue
Block a user