From 103e0293870cdff1d6b32f78a7108d95479c0cd2 Mon Sep 17 00:00:00 2001 From: Emma Pearce Date: Wed, 18 Dec 2024 17:01:10 +0000 Subject: [PATCH] fix test on ci --- backend/tests/llm/openai_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/tests/llm/openai_test.py b/backend/tests/llm/openai_test.py index ae92e3a9..10768ac3 100644 --- a/backend/tests/llm/openai_test.py +++ b/backend/tests/llm/openai_test.py @@ -70,8 +70,6 @@ async def test_chat_with_file_removes_citations(mock_async_openai): model="", user_prompt="", system_prompt="", - files=[ - LLMFile("file_name", Path("./library/AstraZeneca-Sustainability-Report-2023.pdf")) - ], # This path only works if you run this test from the backend folder + files=[LLMFile("file_name", Path("./backend/library/AstraZeneca-Sustainability-Report-2023.pdf"))], ) assert response == "Response with quote"