Add do-epic --dry-run, which prints the Jira writes planning would make and the chunks that would start, and makes none
CI / tests (pull_request) Failing after 2m36s

This commit is contained in:
Lilleman
2026-11-20 09:09:15 +01:00
parent e9e11f10a0
commit 1b022f4505
7 changed files with 271 additions and 19 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ class ClosingTheEpic(DoEpicTest):
for argv in (["ABC-12", "--close-epic", "now"], ["--close-epic", "ABC-12"], ["--close-epic"]):
code, out, err = self.run_main(argv, FakeEffects())
self.assertEqual((code, out), (1, ""), argv)
self.assertIn("usage: do-epic <EPIC-KEY> [--status]\n", err)
self.assertIn("usage: do-epic <EPIC-KEY> [--status | --dry-run]\n", err)
self.assertIn("do-epic <EPIC-KEY> --close-epic <<'EOF' summary EOF", err)