mirror of
https://github.com/openai/codex.git
synced 2026-12-06 01:10:58 +00:00
fix(core): annotate metadata literals in mcp tool tests
Add the required `/*metadata*/` comments to the positional `None` arguments in the custom MCP approval regression tests. This fixes the argument-comment lint failures on the PR branch without changing test behavior.
This commit is contained in:
@@ -2097,7 +2097,7 @@ async fn custom_auto_mode_skips_approval_when_annotations_are_missing_in_never_m
|
||||
&turn_context,
|
||||
"call-custom-auto",
|
||||
&invocation,
|
||||
None,
|
||||
/*metadata*/ None,
|
||||
AppToolApproval::Auto,
|
||||
)
|
||||
.await;
|
||||
@@ -2126,7 +2126,7 @@ async fn custom_auto_mode_skips_approval_when_annotations_are_missing_in_on_requ
|
||||
&turn_context,
|
||||
"call-custom-auto-on-request",
|
||||
&invocation,
|
||||
None,
|
||||
/*metadata*/ None,
|
||||
AppToolApproval::Auto,
|
||||
)
|
||||
.await
|
||||
@@ -2188,7 +2188,7 @@ async fn custom_approve_mode_without_metadata_still_uses_arc_monitor() {
|
||||
&turn_context,
|
||||
"call-custom-approve-no-metadata",
|
||||
&invocation,
|
||||
None,
|
||||
/*metadata*/ None,
|
||||
AppToolApproval::Approve,
|
||||
)
|
||||
.await;
|
||||
|
||||
Reference in New Issue
Block a user