Let do-epic --file take --blocked-by and --parent, so a change a repo ships as two pull requests gets an issue for each #638

Merged
lilleman merged 9 commits from item-455 into main 2026-11-19 17:16:10 +01:00
Showing only changes of commit b7d7a1f1ea - Show all commits
+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)