Skip to content

Commit c2188ed

Browse files
authored
test(integ): mcp tests were patching old code location and comparing out of date description (#891)
Signed-off-by: Morgan Epp <[email protected]>
1 parent 0b04c18 commit c2188ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integ/deadline_mcp/test_mcp_server_integration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ async def test_tool_description_extraction(get_boto_session):
146146
f"Got: {list_farms_tool.description}"
147147
)
148148

149-
assert "Calls the deadline:ListFarms API call" in list_farms_tool.description, (
149+
assert "Calls the [deadline:ListFarms] API call" in list_farms_tool.description, (
150150
"Tool description should come from the function's doc string"
151151
)
152152

@@ -358,7 +358,7 @@ def test_mcp_server_startup_telemetry():
358358
mock_telemetry_client = MagicMock()
359359

360360
with patch(
361-
"deadline.client.cli._mcp_server.get_deadline_cloud_library_telemetry_client"
361+
"deadline.client.cli._groups.mcp_server_command.get_deadline_cloud_library_telemetry_client"
362362
) as mock_get_client, patch("deadline._mcp.server.main") as mock_mcp_main:
363363
mock_get_client.return_value = mock_telemetry_client
364364

0 commit comments

Comments
 (0)