Skip to content

Commit acfe08f

Browse files
committed
Add minor fix to resolve S3 Mock test
1 parent d7f91d5 commit acfe08f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/data/test_boto_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_create_s3_client_single(mock_client):
4242
s3_clients = boto_manager.create_s3_clients(config, buckets)
4343

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

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

0 commit comments

Comments
 (0)