test: update session yolo approval query
This commit is contained in:
parent
c268397752
commit
d59974fea5
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue