Test the commands a gate read runs, a parked chunk's window calls and the failures of unparking

This commit is contained in:
2026-11-18 23:29:04 +01:00
parent 2dcf93a55f
commit 0eea8aa10d
4 changed files with 38 additions and 7 deletions
+1
View File
@@ -382,6 +382,7 @@ class Merge(unittest.TestCase):
failed = merged(checkout, checkout.config, self.fail, parks=True)
self.assertEqual(failed.reason, "pull request 12 passed its checks and awaits an approval; end your run now, since do-epic parks the chunk and resumes this session once it is approved or a reviewer comments")
self.assertEqual(checkout.ran.count(GH_DECISION), 1)
self.assertEqual(step(["merge"], self.requiring_approval(GITHUB, "REVIEW_REQUIRED"), checkout.config, parks=True), failed)
def test_a_merge_that_parks_merges_an_approved_pull_request(self):
checkout = self.requiring_approval()