From b7d7a1f1ea10e13ddf557120376e1f1277a56b60 Mon Sep 17 00:00:00 2001 From: Lilleman Date: Thu, 19 Nov 2026 16:58:43 +0100 Subject: [PATCH] Kill the surviving mutant in the e2e's follow-up check --- bin/do_epic/e2e/test_scenario.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/do_epic/e2e/test_scenario.py b/bin/do_epic/e2e/test_scenario.py index 6cdeb464..94b9381c 100644 --- a/bin/do_epic/e2e/test_scenario.py +++ b/bin/do_epic/e2e/test_scenario.py @@ -137,6 +137,13 @@ class FollowUpFiledTest(unittest.TestCase): self.assertEqual(len(report.broke), 1) self.assertIn("not the other way round", report.broke[0]) + def test_breaks_where_do_epic_exits_cleanly_but_says_nothing_of_the_blocker(self) -> None: + store = self.store() + report = scenario.Report() + scenario.follow_up_filed(report, Scripted([lambda: (self.following(store)(), done(0, "Filed SBX-101 in the epic SBX-1."))[1]]), store, EPIC) + self.assertEqual(len(report.broke), 1) + self.assertIn("says it is blocked", report.broke[0]) + def test_breaks_where_do_epic_fails_and_files_nothing(self) -> None: report = scenario.Report() scenario.follow_up_filed(report, Scripted([lambda: done(1, err="no")]), self.store(), EPIC)