Test the commands a gate read runs, a parked chunk's window calls and the failures of unparking
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user