mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-25 02:57:52 -06:00
fix: read the split installer shapes in two tests
This commit is contained in:
1 parent
8f1b88bb7e
commit
aded24dbcc
2 files changed
+3
-3
No files matched your search
@@ -856,7 +856,7 @@ class FirstInstallWalkthrough(unittest.TestCase):
|
||||
for ending in ("Done", "Finished with errors", "Nothing installed"):
|
||||
with self.subTest(ending=ending):
|
||||
self.assertIn(f"**{ending}**", _section(self.text, "5. Read the result"))
|
||||
self.assertIn(f'title = "{ending}"', source)
|
||||
self.assertRegex(source, rf'return \(?"{ending}",')
|
||||
self.assertNotRegex(self.text, r"\d+ (in place|missing|files installed)")
|
||||
self.assertIn(f" {install.EVERYTHING_IN_PLACE}", self.text)
|
||||
step3 = _generated(self.run, "run-index")
|
||||
|
||||
@@ -7397,8 +7397,8 @@ class WhatEachScreenOffers(unittest.TestCase):
|
||||
the collection for the file whose save directory is unknown."""
|
||||
menus = []
|
||||
|
||||
def menu(_plat, files, *_rest, **_named):
|
||||
menus.append([entry["dest"] for entry in files])
|
||||
def menu(context, **_named):
|
||||
menus.append([entry["dest"] for entry in context.files])
|
||||
return
|
||||
|
||||
with SaveDirectoryRepository() as repo:
|
||||
|
||||
Reference in new issue
Block a user