Skip to content

Commit

Permalink
attempt to fix tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
IMladjenovic committed Nov 29, 2024
1 parent 743db6c commit 93d2c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/tests/directors/report_director_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 93d2c24

Please sign in to comment.