fix: read the folder tail on a crowded screen

This commit is contained in:
Abdessamad Derraz committed 2026-11-03 15:32:42 +01:00
1 parent 7b8b191a0c
commit 8844b30fb2
1 file changed
+4 -2
+4 -2
View File
@@ -13968,8 +13968,10 @@ class AuditTwentyThreeAndSixteen(unittest.TestCase):
folder = str(state.folder_default)
self.assertIn("reads its BIOS files", 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()))
# path's length puts it, and a long one keeps its last
# folders after "...": read its tail with the breaks out.
tail = "/".join(Path(folder).parts[-2:])
self.assertIn(tail, "".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".