feat: add tests (#5)

This commit is contained in:
Martha Morrissey
2025-12-04 05:18:59 -07:00
committed by GitHub
parent b9f89e6a58
commit 4a7a2c050a
+14
View File
@@ -0,0 +1,14 @@
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