Skip to content

Commit febf2fc

Browse files
use correct agent
1 parent 3a4a085 commit febf2fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integrations/openai_agents/test_openai_agents.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,7 @@ async def test_mcp_tool_execution_spans(
18241824
events = capture_events()
18251825

18261826
await agents.Runner.run(
1827-
test_agent,
1827+
agent,
18281828
"Please use MCP tool",
18291829
run_config=test_run_config,
18301830
)
@@ -1954,7 +1954,7 @@ async def test_mcp_tool_execution_with_error(
19541954
events = capture_events()
19551955

19561956
await agents.Runner.run(
1957-
test_agent,
1957+
agent,
19581958
"Please use failing MCP tool",
19591959
run_config=test_run_config,
19601960
)
@@ -2082,7 +2082,7 @@ async def test_mcp_tool_execution_without_pii(
20822082
events = capture_events()
20832083

20842084
await agents.Runner.run(
2085-
test_agent,
2085+
agent,
20862086
"Please use MCP tool",
20872087
run_config=test_run_config,
20882088
)

0 commit comments

Comments
 (0)