Skip to content

Commit

Permalink
Update test_chat_generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Amnah199 authored Aug 13, 2024
1 parent cae8a56 commit dc72b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/amazon_bedrock/tests/test_chat_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def test_long_prompt_is_truncated(mock_boto3_session):
assert prompt_after_resize == truncated_prompt_text


def test_long_prompt_is_not_truncated_when_truncate_false():
def test_long_prompt_is_not_truncated_when_truncate_false(mock_boto3_session):
"""
Test that a long prompt is not truncated and _ensure_token_limit is not called when truncate is set to False
"""
Expand Down

0 comments on commit dc72b85

Please sign in to comment.