Skip to content

Commit

Permalink
fixup! refactor string concat
Browse files Browse the repository at this point in the history
  • Loading branch information
jeqo committed Dec 28, 2023
1 parent 63da30f commit a7ae503
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions test/object_storage/test_azure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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;",
]
),
),
],
)
Expand Down

0 comments on commit a7ae503

Please sign in to comment.