mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-08 02:53:46 -06:00
fix: match the idle line and keep the found folder
The handheld launcher compared the idle close's line without install.py's RetroBIOS: prefix, and its test fake printed it the same way, so the device still waited 300 s: a test now ties both to TUI_IDLE_WORDS. The interface offered the built-in default folder when the folder found here could not be opened, a folder RetroArch does not read.
This commit is contained in:
1 parent
699f007cf0
commit
859f2c8a22
6 files changed
+25
-7
No files matched your search
@@ -2923,6 +2923,10 @@ class AFolderThisUserCannotOpen(unittest.TestCase):
|
||||
state.stack = ["setup"]
|
||||
self.assertEqual(install.tui_update(state, Key("enter")), [])
|
||||
self.assertEqual(state.screen, "folder")
|
||||
# The folder found is the one RetroArch reads: its built-in default
|
||||
# is not, and was offered with Enter on "Use this folder".
|
||||
self.assertIsNone(state.folder_default)
|
||||
self.assertNotIn("reads its BIOS files from", self.said(state))
|
||||
self.assertIn(f"This user cannot open {install._short_path(self.lock, state.home)} "
|
||||
"(Permission denied)", self.said(state))
|
||||
|
||||
|
||||
Reference in new issue
Block a user