mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-01 07:33:45 -06:00
refactor: run line mode findings for parity
The line-mode findings of code audit 18 and tui audit 11, the escape sequence checks among them, run in LineModeAndScreenDecideAlike.
This commit is contained in:
1 parent
39c2809a4b
commit
dbc9da283d
2 files changed
+368
-356
No files matched your search
@@ -967,7 +967,8 @@ class AuditFifteenOffline(Scratch):
|
||||
# The screen reads that summary as missing files, not failures.
|
||||
state = install.TuiState()
|
||||
state.summary = summary
|
||||
with unittest.mock.patch.dict(os.environ, {install.OFFLINE_VARIABLE: install.OFFLINE_FLAG_VALUE}):
|
||||
with unittest.mock.patch.dict(os.environ,
|
||||
{install.OFFLINE_VARIABLE: install.OFFLINE_FLAG_VALUE}):
|
||||
title, lines = install.tui_outcome(state)
|
||||
self.assertEqual(title, "Finished with files missing")
|
||||
self.assertIn("1 installed, 3 not fetched (--offline).", lines[0])
|
||||
|
||||
Reference in new issue
Block a user