Skip to content

Commit

Permalink
improve test (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 authored Jan 12, 2024
1 parent c974c8a commit d721bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/ollama/tests/test_chat_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_run_with_chat_history(self):

assert isinstance(response, dict)
assert isinstance(response["replies"], list)
assert "Manchester" in response["replies"][-1].content
assert "Manchester" in response["replies"][-1].content or "Glasgow" in response["replies"][-1].content

@pytest.mark.integration
def test_run_model_unavailable(self):
Expand Down

0 comments on commit d721bac

Please sign in to comment.