Files
d4c-service-geo-assistant/tests/tools/test_overture.py
T
Martha Morrissey 4a7a2c050a feat: add tests (#5)
2025-12-04 12:18:59 +00:00

15 lines
374 B
Python

from langchain_core.tools.base import ToolCall
from geo_assistant.tools.overture import get_place
def test_get_place():
command = get_place.invoke(
ToolCall(
name="get_place",
type="tool_call",
id="test_id",
args={"place_name": "Neighboourhood Cafe Lisbon"},
)
)
assert "place" in command.update