Skip to content

Commit

Permalink
relax test constraints (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
masci authored Mar 18, 2024
1 parent 430c080 commit 058783b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/cohere/tests/test_cohere_chat_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def test_live_run_with_connector(self):
message: ChatMessage = results["replies"][0]
assert "Paris" in message.content
assert message.meta["documents"] is not None
assert message.meta["citations"] is not None
assert "citations" in message.meta # Citations might be None

@pytest.mark.skipif(
not os.environ.get("COHERE_API_KEY", None) and not os.environ.get("CO_API_KEY", None),
Expand Down

0 comments on commit 058783b

Please sign in to comment.