diff --git a/bin/project_config/test_templates.py b/bin/project_config/test_templates.py index 1ce29106..9d9847b6 100644 --- a/bin/project_config/test_templates.py +++ b/bin/project_config/test_templates.py @@ -35,13 +35,6 @@ class TitleTest(unittest.TestCase): self.assertEqual(branch_of("item-{id}", 357), "item-357") self.assertEqual(branch_of("feature/PAY-{id}", 357), "feature/PAY-357") - def test_the_ticket_style_templates_of_a_jira_plan_name_the_branch_and_title_by_the_issue_key(self) -> None: - self.assertIsNone(branch_fault("ABC-{id}")) - self.assertIsNone(title_fault("ABC-{id} - {summary}")) - self.assertEqual(branch_of("ABC-{id}", 123), "ABC-123") - self.assertTrue(branch_fits("ABC-{id}", "ABC-123")) - self.assertEqual(summary_of("ABC-{id} - {summary}", "ABC-123 - Regression tests for GET /v4/clients"), "Regression tests for GET /v4/clients") - def test_reads_the_summary_out_of_a_title_that_fits(self) -> None: cases = { ("{summary}", "Answer prose round 1: 0 🔴, 0 🟡 (0 misread)"): "Answer prose round 1: 0 🔴, 0 🟡 (0 misread)",