Skip to content

The agent that grows with you

test: update session yolo approval query

Francesco Bonaccid59974fea5fb
diff --git a/tests/run_agent/test_codex_app_server_integration.py b/tests/run_agent/test_codex_app_server_integration.py
index 199ff5d56cb..b340da121dd 100644
--- a/tests/run_agent/test_codex_app_server_integration.py
+++ b/tests/run_agent/test_codex_app_server_integration.py
@@ -498,7 +498,7 @@ class TestRunConversationCodexPath:
):
agent = _make_codex_agent()
with patch(
- "tools.approval.is_current_session_yolo_enabled",
+ "tools.approval.is_approval_bypass_active_for_session",
return_value=True,
), patch.object(
agent, "_spawn_background_review", return_value=None
@@ -786,4 +786,3 @@ class TestCodexToolProgressBridge:
assert "on_event" in captured_init and captured_init["on_event"] is not None
assert ("tool.started", "exec_command", "pytest") in events
-