Skip to content

Commit 0100ee1

Browse files
committed
test: remove approve step
Signed-off-by: Tim Knight <tim.knight1@engineering.digital.dwp.gov.uk>
1 parent 5e5c826 commit 0100ee1

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tests/functional/cli/test_cli_v4.py

-16
Original file line numberDiff line numberDiff line change
@@ -243,22 +243,6 @@ def test_accept_request_merge(gitlab_cli, project):
243243
# Pause to let GL catch up (happens on hosted too, sometimes takes a while for server to be ready to merge)
244244
time.sleep(30)
245245

246-
mr = project.mergerequests.get(mr.iid)
247-
248-
if mr.detailed_merge_status == "not_approved":
249-
approve_cmd = [
250-
"project-merge-request",
251-
"approve",
252-
"--project-id",
253-
project.id,
254-
"--iid",
255-
mr.iid,
256-
]
257-
gitlab_cli(approve_cmd)
258-
259-
# Pause to let GL catch up (happens on hosted too, sometimes takes a while for server to be ready to merge)
260-
time.sleep(5)
261-
262246
approve_cmd = [
263247
"project-merge-request",
264248
"merge",

0 commit comments

Comments
 (0)