Answer stability round 1: 0 🔴, 1 🟡 (0 misread); delete the test that repeats the PAY-{id} cases

This commit is contained in:
2026-11-14 20:40:07 +01:00
parent 2b4c8b4cab
commit 20f8ba29da
-7
View File
@@ -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)",