Test the team's label in a failed run's split, a second blocker outside the epic and the finish task's heading
CI / tests (pull_request) Has been cancelled

This commit is contained in:
Lilleman
2026-11-19 15:53:53 +01:00
parent b09d30b48e
commit ecd8a99335
3 changed files with 17 additions and 1 deletions
+5
View File
@@ -73,6 +73,11 @@ class WhichIssuesAreChunks(unittest.TestCase):
task = dataclasses.replace(issue("ABC-23", "repo:api", parent="ABC-20"), by_loop=True)
self.assertEqual(chunks([issue("ABC-20"), task], {}), ([Chunk("ABC-23", "api")], [Waits("ABC-20", "no label names its repo")]))
def test_names_each_blocker_outside_the_epic(self) -> None:
self.assertEqual(chunks([issue("ABC-20", "repo:api", blockers=("XYZ-1", "XYZ-2"))], {})[1], [
Waits("ABC-20", "XYZ-1 and XYZ-2 block it; do-epic cannot see XYZ-1 and XYZ-2, outside the epic, finish: remove such a link in Jira once its issue is done"),
])
def test_an_issue_waits_for_its_pick_its_human_and_its_blockers(self) -> None:
found = chunks([
issue("ABC-20"),