Skip to content

Commit

Permalink
Minot test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Dec 5, 2024
1 parent 88bf808 commit bdf6c34
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions integrations/amazon_bedrock/tests/test_chat_generator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import json
from typing import Any, Dict, Optional

import pytest
from haystack.components.generators.utils import print_streaming_chunk
Expand Down Expand Up @@ -30,8 +31,16 @@ def chat_messages():
]
return messages


def test_to_dict(mock_boto3_session):
@pytest.mark.parametrize(
"boto3_config",
[
None,
{
"read_timeout": 1000,
},
],
)
def test_to_dict(mock_boto3_session, boto3_config):
"""
Test that the to_dict method returns the correct dictionary without aws credentials
"""
Expand Down

0 comments on commit bdf6c34

Please sign in to comment.