Skip to content

Commit

Permalink
Add minor fix to resolve S3 Mock test
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeckman314 committed Feb 29, 2024
1 parent d7f91d5 commit acfe08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/data/test_boto_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_create_s3_client_single(mock_client):
s3_clients = boto_manager.create_s3_clients(config, buckets)

# Assert that the correct call was made to the client function
mock_client.assert_any_call('s3', access_key='key1', secret_key='key1', endpoint_url='https://example.com')
mock_client.assert_any_call('s3', access_key='key1', secret_key='secret1', endpoint_url='https://example.com')

# Assert that the returned dictionary contains the correct client
assert len(s3_clients) == 1
Expand Down

0 comments on commit acfe08f

Please sign in to comment.