mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Update tests for current tool call and app-server event types (#35942)
## What changed - Set `encrypted_function_args` when constructing the router test's local tool call. - Box the TUI test's app-server request payload to match `AppServerEvent::ServerRequest`. GitOrigin-RevId: 45195f362bc912d202d95ea67271bcb102bf1e2a
This commit is contained in:
1 parent
ddf33ea802
commit
a4d2f31022
2 files changed
+3
-2
No files matched your search
@@ -4411,12 +4411,12 @@ async fn background_side_cleanup_removes_local_state_and_ignores_late_events() -
|
||||
|
||||
app.handle_app_server_event(
|
||||
&app_server,
|
||||
codex_app_server_client::AppServerEvent::ServerRequest(exec_approval_request(
|
||||
codex_app_server_client::AppServerEvent::ServerRequest(Box::new(exec_approval_request(
|
||||
side_thread_id,
|
||||
"turn-1",
|
||||
"item-1",
|
||||
Some("approval-1"),
|
||||
)),
|
||||
))),
|
||||
)
|
||||
.await;
|
||||
let resolution = app
|
||||
|
||||
Reference in new issue
Block a user