Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage] Fixed parsing of path_name and file_system_name in async clients #23854

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed unnecessary live-test requirement
vincenttran-msft committed Apr 6, 2022

Unverified

The email in this signature doesn’t match the committer email.
commit b649050ad3007f07856435a800a7b6d17c5e2dc1
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ interactions:
User-Agent:
- azsdk-python-storage-dfs/12.7.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)
x-ms-date:
- Wed, 06 Apr 2022 21:20:32 GMT
- Wed, 06 Apr 2022 22:36:26 GMT
x-ms-version:
- '2020-10-02'
method: PUT
@@ -25,11 +25,11 @@ interactions:
content-length:
- '0'
date:
- Wed, 06 Apr 2022 21:20:31 GMT
- Wed, 06 Apr 2022 22:36:25 GMT
etag:
- '"0x8DA1813482B05F2"'
- '"0x8DA181DE2E5EAE8"'
last-modified:
- Wed, 06 Apr 2022 21:20:32 GMT
- Wed, 06 Apr 2022 22:36:26 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-version:
@@ -51,7 +51,7 @@ interactions:
User-Agent:
- azsdk-python-storage-dfs/12.7.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)
x-ms-date:
- Wed, 06 Apr 2022 21:20:32 GMT
- Wed, 06 Apr 2022 22:36:26 GMT
x-ms-version:
- '2020-10-02'
method: PUT
@@ -63,11 +63,11 @@ interactions:
content-length:
- '0'
date:
- Wed, 06 Apr 2022 21:20:32 GMT
- Wed, 06 Apr 2022 22:36:26 GMT
etag:
- '"0x8DA181348747629"'
- '"0x8DA181DE33191DD"'
last-modified:
- Wed, 06 Apr 2022 21:20:32 GMT
- Wed, 06 Apr 2022 22:36:27 GMT
server:
- Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-server-encrypted:
@@ -91,7 +91,7 @@ interactions:
User-Agent:
- azsdk-python-storage-dfs/12.7.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)
x-ms-date:
- Wed, 06 Apr 2022 21:20:32 GMT
- Wed, 06 Apr 2022 22:36:27 GMT
x-ms-version:
- '2020-10-02'
method: PUT
@@ -103,11 +103,11 @@ interactions:
content-length:
- '0'
date:
- Wed, 06 Apr 2022 21:20:32 GMT
- Wed, 06 Apr 2022 22:36:26 GMT
etag:
- '"0x8DA1813488256DC"'
- '"0x8DA181DE33D9E10"'
last-modified:
- Wed, 06 Apr 2022 21:20:32 GMT
- Wed, 06 Apr 2022 22:36:27 GMT
server:
- Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-server-encrypted:
@@ -131,7 +131,7 @@ interactions:
User-Agent:
- azsdk-python-storage-dfs/12.7.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)
x-ms-date:
- Wed, 06 Apr 2022 21:20:32 GMT
- Wed, 06 Apr 2022 22:36:27 GMT
x-ms-version:
- '2020-10-02'
method: DELETE
@@ -143,7 +143,7 @@ interactions:
content-length:
- '0'
date:
- Wed, 06 Apr 2022 21:20:32 GMT
- Wed, 06 Apr 2022 22:36:26 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-version:
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ interactions:
User-Agent:
- azsdk-python-storage-dfs/12.7.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)
x-ms-date:
- Wed, 06 Apr 2022 21:20:37 GMT
- Wed, 06 Apr 2022 22:36:34 GMT
x-ms-version:
- '2020-10-02'
method: PUT
@@ -17,9 +17,9 @@ interactions:
string: ''
headers:
content-length: '0'
date: Wed, 06 Apr 2022 21:20:36 GMT
etag: '"0x8DA18134B9A1964"'
last-modified: Wed, 06 Apr 2022 21:20:37 GMT
date: Wed, 06 Apr 2022 22:36:34 GMT
etag: '"0x8DA181DE7C7C166"'
last-modified: Wed, 06 Apr 2022 22:36:34 GMT
server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-version: '2020-10-02'
status:
@@ -34,7 +34,7 @@ interactions:
User-Agent:
- azsdk-python-storage-dfs/12.7.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)
x-ms-date:
- Wed, 06 Apr 2022 21:20:38 GMT
- Wed, 06 Apr 2022 22:36:35 GMT
x-ms-version:
- '2020-10-02'
method: PUT
@@ -44,9 +44,9 @@ interactions:
string: ''
headers:
content-length: '0'
date: Wed, 06 Apr 2022 21:20:37 GMT
etag: '"0x8DA18134BC68167"'
last-modified: Wed, 06 Apr 2022 21:20:38 GMT
date: Wed, 06 Apr 2022 22:36:34 GMT
etag: '"0x8DA181DE7F67F66"'
last-modified: Wed, 06 Apr 2022 22:36:35 GMT
server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-server-encrypted: 'true'
x-ms-version: '2020-10-02'
@@ -62,7 +62,7 @@ interactions:
User-Agent:
- azsdk-python-storage-dfs/12.7.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)
x-ms-date:
- Wed, 06 Apr 2022 21:20:38 GMT
- Wed, 06 Apr 2022 22:36:35 GMT
x-ms-version:
- '2020-10-02'
method: PUT
@@ -72,9 +72,9 @@ interactions:
string: ''
headers:
content-length: '0'
date: Wed, 06 Apr 2022 21:20:37 GMT
etag: '"0x8DA18134BD17C52"'
last-modified: Wed, 06 Apr 2022 21:20:38 GMT
date: Wed, 06 Apr 2022 22:36:34 GMT
etag: '"0x8DA181DE80068FD"'
last-modified: Wed, 06 Apr 2022 22:36:35 GMT
server: Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-server-encrypted: 'true'
x-ms-version: '2020-10-02'
@@ -90,7 +90,7 @@ interactions:
User-Agent:
- azsdk-python-storage-dfs/12.7.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)
x-ms-date:
- Wed, 06 Apr 2022 21:20:38 GMT
- Wed, 06 Apr 2022 22:36:35 GMT
x-ms-version:
- '2020-10-02'
method: DELETE
@@ -100,7 +100,7 @@ interactions:
string: ''
headers:
content-length: '0'
date: Wed, 06 Apr 2022 21:20:37 GMT
date: Wed, 06 Apr 2022 22:36:34 GMT
server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-version: '2020-10-02'
status:
Original file line number Diff line number Diff line change
@@ -98,7 +98,6 @@ def test_create_file(self, datalake_storage_account_name, datalake_storage_accou
# Assert
self.assertIsNotNone(response)

@pytest.mark.live_test_only
@DataLakePreparer()
def test_create_file_extra_backslashes(self, datalake_storage_account_name, datalake_storage_account_key):
self._setUp(datalake_storage_account_name, datalake_storage_account_key)
Original file line number Diff line number Diff line change
@@ -105,7 +105,6 @@ async def test_create_file_async(self, datalake_storage_account_name, datalake_s
# Assert
self.assertIsNotNone(response)

@pytest.mark.live_test_only
@DataLakePreparer()
async def test_create_file_extra_backslashes_async(self, datalake_storage_account_name, datalake_storage_account_key):
await self._setUp(datalake_storage_account_name, datalake_storage_account_key)