mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-21 17:17:51 -06:00
feat: tell RomM users to scan after an install
This commit is contained in:
1 parent
4dd43aa627
commit
3d694c7d70
7 files changed
+55
-10
No files matched your search
@@ -4591,6 +4591,20 @@ def _installed_state(dest: Path, code: int = 0, failed: list | None = None) -> i
|
||||
return state
|
||||
|
||||
|
||||
class TheRomMResultNamesTheScan(unittest.TestCase):
|
||||
"""RomM's player sees firmware its scan recorded: the result said
|
||||
"installed" and left the scan unsaid."""
|
||||
|
||||
def test_the_result_and_its_farewell_say_it(self):
|
||||
state = _installed_state(SYSTEM_DIR)
|
||||
state.platform = "romm"
|
||||
_title, lines = install.tui_outcome(state)
|
||||
self.assertIn(install.ROMM_SCAN_WORDS, lines)
|
||||
self.assertIn(install.ROMM_SCAN_WORDS, install._farewell_lines(state))
|
||||
state.platform = "retroarch"
|
||||
self.assertNotIn(install.ROMM_SCAN_WORDS, install.tui_outcome(state)[1])
|
||||
|
||||
|
||||
class AppOnTheCard(unittest.TestCase):
|
||||
"""The RetroBIOS app offered on the result screen and in the options."""
|
||||
|
||||
|
||||
Reference in new issue
Block a user