Answer product-owner round 1: 0 🔴, 3 🟡 (0 misread); comment before the scores are set, score no issue whose work has landed, and say after which issues one starts

This commit is contained in:
Lilleman
2026-11-20 15:14:14 +01:00
parent 6c406b2609
commit 4557dced58
8 changed files with 45 additions and 22 deletions
+4 -4
View File
@@ -54,10 +54,10 @@ class TheStatusLines(unittest.TestCase):
def test_an_issue_without_scores_says_that_it_starts_after_each_that_holds_them(self) -> None:
held = dataclasses.replace(issue("ABC-21", "repo:api"), scores={"L": 1, "E": 1, "I": 1, "S": 1})
room = "it has not started; `do-epic ABC-12` starts it once the epic and its repo have room"
found = self.lines([issue("ABC-20", "repo:api"), held])
self.assertEqual(found, [f"ABC-20 waits: {room}, after each issue that holds scores, since it holds none", f"ABC-21 waits: {room}"])
# Where no issue holds scores, each starts in the tracker's rank order.
self.assertEqual(self.lines([issue("ABC-20", "repo:api")]), [f"ABC-20 waits: {room}"])
found = status.lines("ABC-12", self.home, [issue("ABC-20", "repo:api"), held], {}, (), Tmux(), ("ABC-21",))
self.assertEqual(found, [f"ABC-20 waits: {room}, after each issue that holds every score, since it doesn't", f"ABC-21 waits: {room}"])
# Where no issue starts by score, each starts in the tracker's rank order.
self.assertEqual(self.lines([issue("ABC-20", "repo:api"), held]), [f"ABC-20 waits: {room}", f"ABC-21 waits: {room}"])
def test_a_stopped_chunk_and_one_not_started_say_so(self) -> None:
found = self.lines([issue("ABC-20", "repo:api"), issue("ABC-21", "repo:api")], (EPIC, "ABC-20", True, ""))