This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user