Kill the surviving mutant in the e2e's follow-up check
CI / tests (pull_request) Has been cancelled

This commit is contained in:
Lilleman
2026-11-19 16:58:43 +01:00
parent b832c1e669
commit b7d7a1f1ea
+7
View File
@@ -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)