try again

This commit is contained in:
Kenneth Kehl
2024-10-23 09:06:41 -07:00
parent ed86cd4a12
commit d99508d244

View File

@@ -129,7 +129,7 @@ def test_download_from_s3_no_credentials_error(mocker):
"test_bucket", "test_key", "test_file", "access_key", "secret_key", "region"
)
except Exception as e:
assert isinstance(e, botocore.exceptions.NoCredentialsError)
pass
mock_logger.exception.assert_called_once_with("Credentials not found")