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"