Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Apr 17, 2024
1 parent 56fa5d6 commit 7ed32af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_lmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def create_temp_image(image_format="jpeg"):
def test_generate_with_mock(openai_lmm_mock): # noqa: F811
temp_image = create_temp_image()
lmm = OpenAILMM()
response = lmm.generate("test prompt", image=temp_image)
response = lmm.generate("test prompt", images=[temp_image])
assert response == "mocked response"
assert (
"image_url"
Expand Down

0 comments on commit 7ed32af

Please sign in to comment.