From 4a7a2c050a2aa36d19ab3825095a16a3ce7fed0a Mon Sep 17 00:00:00 2001 From: Martha Morrissey Date: Thu, 4 Dec 2025 05:18:59 -0700 Subject: [PATCH] feat: add tests (#5) --- tests/tools/test_overture.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/tools/test_overture.py diff --git a/tests/tools/test_overture.py b/tests/tools/test_overture.py new file mode 100644 index 0000000..733ac4f --- /dev/null +++ b/tests/tools/test_overture.py @@ -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