fix: read the split installer shapes in two tests

This commit is contained in:
Abdessamad Derraz committed 2026-11-17 15:44:44 +01:00
1 parent 8f1b88bb7e
commit aded24dbcc
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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")
+2 -2
View File
@@ -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: