From acfe08f10dd2f32425a75fa03be6010feb2c46ab Mon Sep 17 00:00:00 2001 From: Liam Beckman Date: Thu, 29 Feb 2024 14:24:31 -0800 Subject: [PATCH] Add minor fix to resolve S3 Mock test --- tests/data/test_boto_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/data/test_boto_manager.py b/tests/data/test_boto_manager.py index 5079d7820..2db6a8c12 100644 --- a/tests/data/test_boto_manager.py +++ b/tests/data/test_boto_manager.py @@ -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