Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Jan 30, 2024
1 parent 6eba178 commit 8a79991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integrations/amazon_bedrock/tests/test_amazon_bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from botocore.exceptions import BotoCoreError

from haystack_integrations.components.generators.amazon_bedrock import AmazonBedrockGenerator
from haystack_integrations.components.generators.amazon_bedrock.amazon_bedrock_adapters import (
from haystack_integrations.components.generators.amazon_bedrock.handlers import (
AI21LabsJurassic2Adapter,
AmazonTitanAdapter,
AnthropicClaudeAdapter,
Expand Down Expand Up @@ -34,7 +34,7 @@ def mock_boto3_session():
@pytest.fixture
def mock_prompt_handler():
with patch(
"haystack_integrations.components.generators.amazon_bedrock.amazon_bedrock_handlers.DefaultPromptHandler"
"haystack_integrations.components.generators.amazon_bedrock.handlers.DefaultPromptHandler"
) as mock_prompt_handler:
yield mock_prompt_handler

Expand Down

0 comments on commit 8a79991

Please sign in to comment.