From 7b8b191a0ca15f37e0d3a11d4957afc8dcbe145c Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Tue, 3 Nov 2026 15:29:02 +0100 Subject: [PATCH] fix: read a wrapped folder without line breaks --- tests/test_install_tui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_install_tui.py b/tests/test_install_tui.py index 7b147259e..0c62f9de0 100644 --- a/tests/test_install_tui.py +++ b/tests/test_install_tui.py @@ -13967,7 +13967,9 @@ class AuditTwentyThreeAndSixteen(unittest.TestCase): small = " ".join(str(line) for line in install.tui_view(state, 40, 12)) folder = str(state.folder_default) self.assertIn("reads its BIOS files", small) - self.assertIn(folder[-12:], small) + # The folder wraps after a separator wherever the temporary + # path's length puts it: read it with the line breaks out. + self.assertIn(folder, "".join(small.split())) # The owner's note: Cores drew every box empty when no core narrows the # run, read as "nothing is ticked, tick them all".