Kill the mutants of the plan listing's blocker join and detail strip
This commit is contained in:
@@ -13,8 +13,8 @@ from larv_review.plan_listing import plan_listing
|
|||||||
class PlanListing(unittest.TestCase):
|
class PlanListing(unittest.TestCase):
|
||||||
def test_lists_each_item_with_its_release_tagline_blockers_and_detail_in_the_stores_order(self):
|
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 = MemoryPlan(label="the epic ABC-12")
|
||||||
plan.add(FIRST, "Count them where they are made.\n\nSay why.")
|
plan.add(FIRST, "\nCount them where they are made.\n\nSay why.\n\n")
|
||||||
plan.add(SECOND | {BLOCKED_BY: "1"}, "")
|
plan.add(SECOND | {BLOCKED_BY: "1, 7"}, "")
|
||||||
self.assertEqual(plan_listing(plan), (
|
self.assertEqual(plan_listing(plan), (
|
||||||
"# Plan, as the epic ABC-12 holds it\n"
|
"# Plan, as the epic ABC-12 holds it\n"
|
||||||
"\n"
|
"\n"
|
||||||
@@ -30,7 +30,7 @@ class PlanListing(unittest.TestCase):
|
|||||||
"\n"
|
"\n"
|
||||||
"**Ship the later thing.**\n"
|
"**Ship the later thing.**\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Blocked by: 1.\n"
|
"Blocked by: 1, 7.\n"
|
||||||
))
|
))
|
||||||
|
|
||||||
def test_says_so_where_the_plan_holds_no_item(self):
|
def test_says_so_where_the_plan_holds_no_item(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user