This commit is contained in:
@@ -315,7 +315,7 @@ class TheFirstPrompt(unittest.TestCase):
|
||||
def test_a_repo_with_a_plan_file_is_told_to_add_a_bullet_to_its_changelog_where_it_publishes(self) -> None:
|
||||
config = settings.ProjectConfig("api", pathlib.Path("/c/api"), pathlib.Path("/code/api"), {"changelog": pathlib.Path("/code/api/CHANGELOG.md")})
|
||||
told = chunk_prompt.shipping(config)
|
||||
self.assertIn("without `--finish`", told)
|
||||
self.assertTrue(told.startswith("The issue isn't an item of the repo's plan, so run `chunk-pr merge` without `--finish`."))
|
||||
self.assertIn("Where the repo publishes something others consume, add one bullet to `## Unreleased` in `CHANGELOG.md`", told)
|
||||
|
||||
def test_a_changelog_outside_the_checkout_or_on_a_page_is_named_as_the_config_spells_it(self) -> None:
|
||||
@@ -326,7 +326,7 @@ class TheFirstPrompt(unittest.TestCase):
|
||||
|
||||
def test_a_repo_with_its_plan_in_jira_is_told_to_leave_the_changelog_as_it_is(self) -> None:
|
||||
told = chunk_prompt.shipping(CONFIG)
|
||||
self.assertIn("without `--finish`", told)
|
||||
self.assertTrue(told.startswith("The issue isn't an item of the repo's plan, so run `chunk-pr merge` without `--finish`."))
|
||||
self.assertIn("leave the changelog as it is", told)
|
||||
self.assertNotIn("## Unreleased", told)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user