From 5175c53b3e5df7c9be0cc3628eb710714b9be009 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Tue, 3 Nov 2026 15:04:58 +0100 Subject: [PATCH] chore: a failure is named once in line mode --- tests/test_install_selection.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_install_selection.py b/tests/test_install_selection.py index db776c39e..f1129e35e 100644 --- a/tests/test_install_selection.py +++ b/tests/test_install_selection.py @@ -1632,10 +1632,12 @@ class SomethingElseAtADestination(unittest.TestCase): proc = repo.run("--yes") self.assertEqual(proc.returncode, 1, proc.stderr) self.assertNotIn("Traceback", proc.stderr) - self.assertIn("failed: scph5500.bin (a folder sits where this file goes", + # Each failure named once, on its FAILED line (tui_audit_17 P3-7). + self.assertIn("FAILED scph5500.bin (a folder sits where this file goes", proc.stdout) - self.assertIn("failed: scph5501.bin (file in place could not be kept aside", + self.assertIn("FAILED scph5501.bin (file in place could not be kept aside", proc.stdout) + self.assertEqual(proc.stdout.count("scph5500.bin ("), 1, proc.stdout) self.assertTrue((repo.dest / "scph5500.bin").is_dir()) self.assertIn("gba_bios.bin", repo.installed())