chore: frame the triage rows in a refusal test

This commit is contained in:
Abdessamad Derraz committed 2026-10-21 05:26:53 +02:00
1 parent b464ed9202
commit 94a230a063
1 file changed
+2 -1
+2 -1
View File
@@ -3521,7 +3521,8 @@ class TriageSurvivesAForgeRefusal(unittest.TestCase):
contextlib.redirect_stdout(out), \
contextlib.redirect_stderr(io.StringIO()):
profile_sync._print_triage(args, selected, reports)
lines = out.getvalue().splitlines()
# A header row and a closing count frame the ranking.
lines = out.getvalue().splitlines()[1:-1]
self.assertEqual(len(lines), 2)
self.assertTrue(any("eden" in l and "unreachable" in l for l in lines))