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