From a87b64b71e6047d46066f67f9c3fc507df5d0b02 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Thu, 4 Dec 2025 15:29:12 +0000 Subject: [PATCH] Mark test requiring ollama server as xfail (#10) Should only run these locally for now --- src/geo_assistant/agent/graph.py | 2 +- tests/test_api.py | 2 +- tests/tools/test_summarize.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/geo_assistant/agent/graph.py b/src/geo_assistant/agent/graph.py index 1e7a29d..12ab716 100644 --- a/src/geo_assistant/agent/graph.py +++ b/src/geo_assistant/agent/graph.py @@ -5,7 +5,7 @@ from langchain.agents import create_agent from geo_assistant.agent.state import GeoAssistantState from geo_assistant.agent.llms import llm from geo_assistant.tools.overture import get_place -from src.geo_assistant.tools.buffer import get_search_area +from geo_assistant.tools.buffer import get_search_area SYSTEM_PROMPT = """ You are a helpful assistant that can answer questions and help with tasks. diff --git a/tests/test_api.py b/tests/test_api.py index 1f6cfb2..193ac70 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -18,7 +18,7 @@ async def initialized_app(): del app.state.chatbot -@pytest.mark.asyncio +@pytest.mark.xfail async def test_hello_world(initialized_app): """Hello world test for the API""" async with AsyncClient( diff --git a/tests/tools/test_summarize.py b/tests/tools/test_summarize.py index eebe7ba..8390f07 100644 --- a/tests/tools/test_summarize.py +++ b/tests/tools/test_summarize.py @@ -16,6 +16,7 @@ TEST_IMAGE_URL = "https://petapixel.com/assets/uploads/2022/08/French-Officials- (TEST_IMAGE_URL, "building"), ], ) +@pytest.mark.xfail def test_summarize_sat_img(img_url, summary): command = summarize_sat_img.invoke( ToolCall(