From f905c797cbf84964c4bfd292f651be9b0b6050f6 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 19 Nov 2026 03:08:39 +0100 Subject: [PATCH] Pin the opening of the shipping sentence in both tests --- bin/do_epic/test_scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/do_epic/test_scheduler.py b/bin/do_epic/test_scheduler.py index 033718ed..c7d4027a 100644 --- a/bin/do_epic/test_scheduler.py +++ b/bin/do_epic/test_scheduler.py @@ -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)