Skip to content

The agent that grows with you

test(update): the post-commit ZIP resume test's git-command fake accepts checkout_move

Teknium0c7798888930
diff --git a/tests/hermes_cli/test_update_post_commit_safety.py b/tests/hermes_cli/test_update_post_commit_safety.py
index 7b7c4d92193..bf5e466f5d3 100644
--- a/tests/hermes_cli/test_update_post_commit_safety.py
+++ b/tests/hermes_cli/test_update_post_commit_safety.py
@@ -306,7 +306,7 @@ _ZIP_PARENT = textwrap.dedent('''
if resume_token and resume_token.get("resume_needed"):
raise RuntimeError("Could not restart Windows gateway service(s): HermesGatewayProbe")
hermes_main._resume_windows_gateways_after_update = scm
- update_cmd._prepare_git_command = lambda: (True, None, False)
+ update_cmd._prepare_git_command = lambda **_: (True, None, False)
def via_zip(args, *, had_desktop_app_before_update, target_sha=None, completion_request=None, **kwargs):
completion_request["expected_sha"] = target_sha
completion_request["apply_mode"] = "zip"