From 93d2c245f46dc41e511e86e834fdf1ec45dff0ea Mon Sep 17 00:00:00 2001 From: "Ivan Mladjenovic (He/Him)" Date: Fri, 29 Nov 2024 16:02:46 +0000 Subject: [PATCH] attempt to fix tests again --- backend/tests/directors/report_director_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tests/directors/report_director_test.py b/backend/tests/directors/report_director_test.py index 499e812b..f7a28341 100644 --- a/backend/tests/directors/report_director_test.py +++ b/backend/tests/directors/report_director_test.py @@ -14,7 +14,7 @@ async def test_report_on_file_upload(mocker): file_upload = FileUpload(uploadId="1", filename="test.txt", content="test", contentType="text/plain", size=4) mock_handle_file_upload = mocker.patch("src.directors.report_director.handle_file_upload", return_value=file_upload) - mock_llm = mocker.patch("src.llm.factory.get_llm", return_value=MockLLM()) + mock_llm = mocker.patch("src.llm.get_llm", return_value=MockLLM()) headers = Headers({"content-type": "text/plain"}) file = BytesIO(b"test content")