From 2f2c3b912cc869295132e3f5dc7e6495abc2f28c 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 | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/test/object_storage/test_azure.py b/test/object_storage/test_azure.py index 829cffa7..69882dc0 100644 --- a/test/object_storage/test_azure.py +++ b/test/object_storage/test_azure.py @@ -112,27 +112,45 @@ 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;", + ]), ), ], )