Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
humpydonkey committed May 16, 2024
1 parent d8596cb commit 8a6b690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def openai_llm_mock(request):
content = request.param
# Note the path here is adjusted to where OpenAI is used, not where it's defined
with patch("vision_agent.llm.llm.OpenAI") as mock:
with patch("vision_agent.llm.llm.wrap_openai") as mock:
# Setup a mock response structure that matches what your code expects
mock_instance = mock.return_value
mock_instance.chat.completions.create.return_value = MagicMock(
Expand Down

0 comments on commit 8a6b690

Please sign in to comment.