Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmbmb committed Jan 17, 2025
1 parent 5ab734c commit 7695acd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/unit/models/llms/test_vllm.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ class TestvLLM:
@pytest.mark.parametrize(
"multi_structured_output",
# TODO: uncomment once with update our code to work with `outlines>0.1.0`
# (True, False),
(False,),
(True, False),
# (False,),
)
@pytest.mark.parametrize(
"num_generations, expected_result",
Expand Down Expand Up @@ -183,6 +183,7 @@ def test_generate(

mocked_requests_output = [
mock.Mock( # RequestOutput
prompt_logprobs=[],
outputs=[
mock.Mock( # CompletionOutput
text="I'm fine thank you",
Expand Down

0 comments on commit 7695acd

Please sign in to comment.