mirror of
https://github.com/dataforcanada/d4c-service-geo-assistant.git
synced 2026-06-13 14:31:01 +02:00
Mark test requiring ollama server as xfail (#10)
Should only run these locally for now
This commit is contained in:
+1
-1
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user