Kill the mutants of the plan listing's blocker join and detail strip

This commit is contained in:
2026-11-15 01:59:05 +01:00
parent 4cd55dd437
commit ae0fba2ecd
+3 -3
View File
@@ -13,8 +13,8 @@ from larv_review.plan_listing import plan_listing
class PlanListing(unittest.TestCase):
def test_lists_each_item_with_its_release_tagline_blockers_and_detail_in_the_stores_order(self):
plan = MemoryPlan(label="the epic ABC-12")
plan.add(FIRST, "Count them where they are made.\n\nSay why.")
plan.add(SECOND | {BLOCKED_BY: "1"}, "")
plan.add(FIRST, "\nCount them where they are made.\n\nSay why.\n\n")
plan.add(SECOND | {BLOCKED_BY: "1, 7"}, "")
self.assertEqual(plan_listing(plan), (
"# Plan, as the epic ABC-12 holds it\n"
"\n"
@@ -30,7 +30,7 @@ class PlanListing(unittest.TestCase):
"\n"
"**Ship the later thing.**\n"
"\n"
"Blocked by: 1.\n"
"Blocked by: 1, 7.\n"
))
def test_says_so_where_the_plan_holds_no_item(self):