Answer prose round 1: 0 🔴, 3 🟡 (0 misread); the Jira sentence moves after the finish sentence, the help and error text name Jira, and the test names lose the negation

This commit is contained in:
2026-11-17 00:01:09 +01:00
parent 1c031866a4
commit 2c504133b8
6 changed files with 11 additions and 8 deletions
+2 -2
View File
@@ -278,7 +278,7 @@ class FinishInJira(TodoItem):
patched.start()
self.addCleanup(patched.stop)
def test_finishes_without_either_flag_and_leaves_a_changelog_that_exists_alone(self):
def test_finishes_without_either_flag_and_doesnt_touch_the_changelog(self):
self.changelog.write_text(CHANGELOG)
self.assertEqual(self.run_main("finish", "3"), (0, "Finished item 3 in the plan in memory.\n", ""))
self.assertEqual((self.plan.rows, self.changelog.read_text()), ({}, CHANGELOG))
@@ -288,7 +288,7 @@ class FinishInJira(TodoItem):
self.assertEqual(self.run_main("finish", "3", "--no-changelog"), (0, "Finished item 3 in the plan in memory.\n", ""))
self.assertEqual(self.changelog.read_text(), CHANGELOG)
def test_refuses_a_bullet_writing_nothing_and_says_the_issues_history_is_the_changelog(self):
def test_refuses_a_bullet_and_says_the_issues_history_is_the_changelog(self):
self.changelog.write_text(CHANGELOG)
code, out, err = self.run_main("finish", "3", "--changelog", "Runs are fast.")
self.assertEqual((code, out), (1, ""))