Skip to content

Commit

Permalink
Update test_outline.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yvan-sraka authored Jan 28, 2025
1 parent cc33df1 commit 0bd1547
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_outline.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def test_outline():
mock_model = Mock()
mock_model.__iter__ = lambda self: iter([])
mock_generator = Mock()
mock_generator.__iter__ = lambda self: iter([])
mock_generator.return_value = '{"result": 6}'
with patch("outlines.generate.json", return_value=mock_generator):
outline_instance = Outline(mock_model, template, OutputModel)
Expand Down

0 comments on commit 0bd1547

Please sign in to comment.