test: add name assertions to multi-tool test

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
stevejaker 2026-03-10 14:55:52 -06:00
parent a749d4e522
commit 5b61b54431

View file

@ -437,7 +437,9 @@ class TestSnowflakeToolTransformation:
tool_results = transformed[2]["content_list"]
assert len(tool_results) == 2
assert tool_results[0]["tool_results"]["tool_use_id"] == "call_1"
assert tool_results[0]["tool_results"]["name"] == "get_weather"
assert tool_results[1]["tool_results"]["tool_use_id"] == "call_2"
assert tool_results[1]["tool_results"]["name"] == "get_weather"
def test_transform_request_with_tool_messages(self):
"""