Answer product-owner round 1: 0 🔴, 4 🟡 (0 misread); move through the open status, refuse open-epic without a branch, tell a conflict from git's other failures
This commit is contained in:
@@ -472,13 +472,13 @@ class TheFirstPrompt(unittest.TestCase):
|
||||
self.assertIn("make the chunk's worktree and branch off `origin/epic/ABC-12`", task)
|
||||
self.assertIn("`chunk-pr merge` merges into `epic/ABC-12` without waiting for a person", task)
|
||||
self.assertNotIn("leaves the pull request ready for a person to merge", task)
|
||||
self.assertIn("Test each sibling repo at its branch `epic/ABC-12` where it has one, else at its default branch, and name in the chunk's summary each sibling that ran at its default branch.", task)
|
||||
self.assertIn("Where the chunk's tests run other repos of the epic, run each at its branch `epic/ABC-12` where it has one, else at its default branch, and name in the chunk's summary each repo that ran at its default branch.", task)
|
||||
self.assertNotIn("chunk-pr push", task)
|
||||
|
||||
def test_a_repo_whose_reviewer_is_asked_by_a_comment_is_told_to_push_with_chunk_pr(self) -> None:
|
||||
config = dataclasses.replace(CONFIG, epic_branch="{epic}", review_request_comment="@reviewbot review")
|
||||
task = chunk_prompt.task(issue("ABC-20"), "ABC-12", {}, "/code/api", pathlib.Path("/b/do-epic"), "Swedish", config)
|
||||
self.assertIn("Push each later commit to the open pull request with `chunk-pr push`, which asks the repo's auto-reviewer for a review of the new head, and wait for that review.", task)
|
||||
self.assertIn("After `chunk-pr ready`, push each commit with `chunk-pr push`, which asks the repo's auto-reviewer to review the new head, and wait for that review.", task)
|
||||
|
||||
def test_a_repo_without_an_epic_branch_is_told_nothing_of_one(self) -> None:
|
||||
task = chunk_prompt.task(issue("ABC-20"), "ABC-12", {}, "/code/api", pathlib.Path("/b/do-epic"), "Swedish", dataclasses.replace(CONFIG, merge="human"))
|
||||
|
||||
Reference in New Issue
Block a user