From a7ae503caff4a7d00ea9b7b41d5e1df9b551af38 Mon Sep 17 00:00:00 2001 From: Jorge Esteban Quilcate Otoya Date: Thu, 28 Dec 2023 05:53:13 -0500 Subject: [PATCH] fixup! refactor string concat --- test/object_storage/test_azure.py | 38 ++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/test/object_storage/test_azure.py b/test/object_storage/test_azure.py index 829cffa7..73edd92e 100644 --- a/test/object_storage/test_azure.py +++ b/test/object_storage/test_azure.py @@ -112,27 +112,53 @@ def test_get_contents_to_fileobj_raises_error_on_invalid_byte_range(azure_module None, None, True, - "DefaultEndpointsProtocol=https;AccountName=test_name;AccountKey=test_key;EndpointSuffix=core.windows.net;", + "".join( + [ + "DefaultEndpointsProtocol=https;", + "AccountName=test_name;", + "AccountKey=test_key;", + "EndpointSuffix=core.windows.net;", + ] + ), ), ( None, None, False, - "DefaultEndpointsProtocol=http;AccountName=test_name;AccountKey=test_key;EndpointSuffix=core.windows.net;", + "".join( + [ + "DefaultEndpointsProtocol=http;", + "AccountName=test_name;", + "AccountKey=test_key;", + "EndpointSuffix=core.windows.net;", + ] + ), ), ( "localhost", 10000, True, - "DefaultEndpointsProtocol=https;AccountName=test_name;AccountKey=test_key;" - "BlobEndpoint=https://localhost:10000/test_name;", + "".join( + [ + "DefaultEndpointsProtocol=https;", + "AccountName=test_name;", + "AccountKey=test_key;", + "BlobEndpoint=https://localhost:10000/test_name;", + ] + ), ), ( "localhost", 10000, False, - "DefaultEndpointsProtocol=http;AccountName=test_name;AccountKey=test_key;" - "BlobEndpoint=http://localhost:10000/test_name;", + "".join( + [ + "DefaultEndpointsProtocol=http;", + "AccountName=test_name;", + "AccountKey=test_key;", + "BlobEndpoint=http://localhost:10000/test_name;", + ] + ), ), ], )