Answer stability round 2: 0 🔴, 1 🟡 (0 misread); a test of the last poll, early returns in pushed, a plainer gh row match

This commit is contained in:
2026-11-27 16:02:59 +01:00
parent f46946f6de
commit 1703f0d47b
3 changed files with 14 additions and 4 deletions
+6
View File
@@ -1232,6 +1232,12 @@ class EpicBranch(unittest.TestCase):
self.assertEqual(sum(slept), 60)
self.assertNotIn(self.COMMENT_GH, checkout.ran)
def test_push_asks_for_a_review_where_the_forge_shows_the_new_head_at_the_last_poll(self):
checkout, slept = self.checkout(), []
checkout.listed_heads = [OLD] * 24 + [HEAD]
self.assertIn("asked for a review of pull request #12", str(step(["push"], checkout, checkout.config, sleep=slept.append)))
self.assertEqual(sum(slept), 60)
def test_push_does_not_wait_where_the_pull_request_goes_into_the_default_branch(self):
checkout, slept = self.checkout(), []
checkout.chunk_base = ""