Skip to content

Commit 7e4490e

Browse files
committed
fix(showcase/crewai): stub mcp_apps_agent module in test_forwarded_props
1 parent 042dde6 commit 7e4490e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

showcase/integrations/crewai-crews/tests/python/test_forwarded_props.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ async def gen():
220220
"byoc_hashbrown_agent",
221221
"byoc_json_render_agent",
222222
"declarative_gen_ui",
223+
"mcp_apps_agent",
223224
"shared_state_read_write",
224225
"subagents",
225226
):
@@ -230,6 +231,7 @@ async def gen():
230231
setattr(sys.modules["agents.byoc_hashbrown_agent"], "ByocHashbrown", lambda: object())
231232
setattr(sys.modules["agents.byoc_json_render_agent"], "ByocJsonRender", lambda: object())
232233
setattr(sys.modules["agents.declarative_gen_ui"], "DeclarativeGenUI", lambda: object())
234+
setattr(sys.modules["agents.mcp_apps_agent"], "MCPApps", lambda: object())
233235
# Sentinel `Flow` instances for the raw-Flow endpoints (set_notes,
234236
# subagents). Real flows are CrewAI `Flow` subclasses; the stub only
235237
# needs to be a non-`None` value `add_crewai_flow_fastapi_endpoint`

0 commit comments

Comments
 (0)