Skip to content

Commit b56e13e

Browse files
committed
Fix tests
1 parent c11393d commit b56e13e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/contrib/openai_agents/test_openai.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@
9292
from temporalio.contrib import openai_agents
9393
from temporalio.contrib.openai_agents import (
9494
ModelActivityParameters,
95-
StatefulMCPServerProvider,
9695
TestModel,
9796
TestModelProvider,
9897
)
@@ -109,7 +108,7 @@
109108
from tests.contrib.openai_agents.research_agents.research_manager import (
110109
ResearchManager,
111110
)
112-
from tests.helpers import assert_eventually, assert_task_fail_eventually, new_worker
111+
from tests.helpers import assert_eventually, new_worker
113112
from tests.helpers.nexus import create_nexus_endpoint, make_nexus_endpoint_name
114113

115114

@@ -2667,7 +2666,7 @@ def override_get_activities() -> Sequence[Callable]:
26672666
) as worker:
26682667
workflow_handle = await client.start_workflow(
26692668
McpServerStatefulWorkflow.run,
2670-
args=[timedelta(seconds=1)],
2669+
args=[timedelta(seconds=1), None],
26712670
id=f"mcp-server-{uuid.uuid4()}",
26722671
task_queue=worker.task_queue,
26732672
execution_timeout=timedelta(seconds=30),

0 commit comments

Comments
 (0)