Skip to content

Commit 4e1ec5a

Browse files
simplify test
1 parent e1cfae1 commit 4e1ec5a

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/integrations/openai_agents/test_openai_agents.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -748,14 +748,12 @@ async def test_hosted_mcp_tool_propagation_headers(sentry_init, test_agent):
748748
hosted_tool = HostedMCPTool(
749749
tool_config={
750750
"type": "mcp",
751-
"server_label": "...",
752-
"server_url": "...",
753-
"require_approval": "never",
751+
"server_label": "test_server",
752+
"server_url": "http://example.com/",
754753
"headers": {
755754
"baggage": "custom=data",
756755
},
757756
},
758-
on_approval_request=None,
759757
)
760758

761759
client = AsyncOpenAI(api_key="z")

0 commit comments

Comments
 (0)