Answer product-owner round 1: 0 🔴, 2 🟡 (0 misread); count an untagged branch's unreleased commits from the commit that dated its heading, and drop the changelog's advice to restart loops
This commit is contained in:
@@ -167,6 +167,10 @@ class ChunkItem(unittest.TestCase):
|
||||
run("add", "CHANGELOG.md")
|
||||
run("commit", "-q", "-m", "Cut 0.0.1")
|
||||
self.assertIs(chunk_pick.default_plan(repo, "main").cut.reviewed, False, "that review reviewed 0.0.1, which is cut")
|
||||
self.assertEqual(chunk_pick.default_plan(repo, "main").cut.commits, 0, "no commit follows the one that cut 0.0.1")
|
||||
self.assertEqual(chunk_pick.chunk_item([], chunk_pick.default_plan(repo, "main").cut), chunk_pick.Unplanned(None))
|
||||
run("commit", "-q", "--allow-empty", "-m", "Ship item 2")
|
||||
self.assertEqual(chunk_pick.default_plan(repo, "main").cut.commits, 1)
|
||||
run("commit", "-q", "--allow-empty", "-m", "Release review of 0.1.0")
|
||||
self.assertIs(chunk_pick.default_plan(repo, "main").cut.reviewed, True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user