Skip to content

Commit 810a62e

Browse files
committed
fix test
1 parent 65a4022 commit 810a62e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests_integ/mcp/test_mcp_client_structured_content_with_hooks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ def test_mcp_client_hooks_structured_content():
5858

5959
# Verify structured content is present and correct
6060
assert "structuredContent" in result
61-
assert result["structuredContent"]["result"] == {"echoed": test_data}
61+
assert result["structuredContent"] == {"echoed": test_data, "message_length": 15}
6262

6363
# Verify text content matches structured content
6464
text_content = json.loads(result["content"][0]["text"])
65-
assert text_content == {"echoed": test_data}
65+
assert text_content == {"echoed": test_data, "message_length": 15}

0 commit comments

Comments
 (0)