Skip to content

Commit

Permalink
Fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Mar 7, 2024
1 parent d56f472 commit 21f17ea
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions integrations/amazon_bedrock/tests/test_chat_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,9 @@ def test_get_responses(self) -> None:

assert response_message == [ChatMessage.from_assistant(expected_response)]

@pytest.mark.parametrize("model_name", [
"anthropic.claude-3-sonnet-20240229-v1:0",
"anthropic.claude-v2:1",
"meta.llama2-13b-chat-v1"
])
@pytest.mark.parametrize(
"model_name", ["anthropic.claude-3-sonnet-20240229-v1:0", "anthropic.claude-v2:1", "meta.llama2-13b-chat-v1"]
)
@pytest.mark.integration
def test_default_inference_params(self, model_name):
messages = [
Expand All @@ -249,4 +247,4 @@ def test_default_inference_params(self, model_name):
assert isinstance(response["replies"][0], ChatMessage)
assert response["replies"][0].content
assert ChatMessage.is_from(response["replies"][0], ChatRole.ASSISTANT)
assert "paris" in response["replies"][0].content.lower()
assert "paris" in response["replies"][0].content.lower()

0 comments on commit 21f17ea

Please sign in to comment.