test: fix test

This commit is contained in:
Krrish Dholakia 2025-05-15 15:38:43 -07:00
parent f2dc261efc
commit c6d36e8912

View file

@ -156,10 +156,7 @@ def test_web_search_tool_transformation():
assert anthropic_web_search_tool is not None
assert anthropic_web_search_tool["user_location"] is not None
assert anthropic_web_search_tool["user_location"]["type"] == "approximate"
assert (
anthropic_web_search_tool["user_location"]["approximate"]["city"]
== "San Francisco"
)
assert anthropic_web_search_tool["user_location"]["city"] == "San Francisco"
@pytest.mark.parametrize(