From a50ce604c21e3e8bc245fa89aae8e142c7ba86a9 Mon Sep 17 00:00:00 2001 From: Tamer Sherif Date: Tue, 8 Sep 2020 13:07:05 -0700 Subject: [PATCH] added playback mode only marker --- ...access_conditions.test_if_blob_exists.yaml | 180 ++++++++--------- ..._conditions_async.test_if_blob_exists.yaml | 188 +++++++++--------- .../tests/test_blob_access_conditions.py | 1 + .../test_blob_access_conditions_async.py | 1 + 4 files changed, 186 insertions(+), 184 deletions(-) diff --git a/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions.test_if_blob_exists.yaml b/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions.test_if_blob_exists.yaml index 4cd261819afe0..4410fb025e5dc 100644 --- a/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions.test_if_blob_exists.yaml +++ b/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions.test_if_blob_exists.yaml @@ -11,9 +11,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:53 GMT + - Tue, 08 Sep 2020 20:06:05 GMT x-ms-version: - '2019-12-12' method: PUT @@ -25,11 +25,11 @@ interactions: content-length: - '0' date: - - Fri, 04 Sep 2020 18:46:52 GMT + - Tue, 08 Sep 2020 20:06:05 GMT etag: - - '"0x8D85102E4833C1D"' + - '"0x8D854329EB9DEED"' last-modified: - - Fri, 04 Sep 2020 18:46:53 GMT + - Tue, 08 Sep 2020 20:06:06 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: @@ -53,11 +53,11 @@ interactions: If-None-Match: - '*' User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-blob-type: - BlockBlob x-ms-date: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT x-ms-version: - '2019-12-12' method: PUT @@ -71,11 +71,11 @@ interactions: content-md5: - XrY7u+Ae7tCTyyK7j1rNww== date: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:05 GMT etag: - - '"0x8D85102E49BFD6D"' + - '"0x8D854329ED1C95E"' last-modified: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: @@ -85,7 +85,7 @@ interactions: x-ms-version: - '2019-12-12' x-ms-version-id: - - '2020-09-04T18:46:54.0137837Z' + - '2020-09-08T20:06:06.2581881Z' status: code: 201 message: Created @@ -99,9 +99,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT x-ms-version: - '2019-12-12' method: HEAD @@ -119,11 +119,11 @@ interactions: content-type: - application/octet-stream date: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:05 GMT etag: - - '"0x8D85102E49BFD6D"' + - '"0x8D854329ED1C95E"' last-modified: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: @@ -133,7 +133,7 @@ interactions: x-ms-blob-type: - BlockBlob x-ms-creation-time: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT x-ms-is-current-version: - 'true' x-ms-lease-state: @@ -145,7 +145,7 @@ interactions: x-ms-version: - '2019-12-12' x-ms-version-id: - - '2020-09-04T18:46:54.0137837Z' + - '2020-09-08T20:06:06.2581881Z' status: code: 200 message: OK @@ -163,9 +163,9 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT x-ms-version: - '2019-12-12' method: PUT @@ -177,7 +177,7 @@ interactions: content-length: - '0' date: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:05 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: @@ -205,9 +205,9 @@ interactions: Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT x-ms-version: - '2019-12-12' method: PUT @@ -219,11 +219,11 @@ interactions: content-length: - '0' date: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT etag: - - '"0x8D85102E4E26222"' + - '"0x8D854329F1C7481"' last-modified: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: @@ -233,7 +233,7 @@ interactions: x-ms-version: - '2019-12-12' x-ms-version-id: - - '2020-09-04T18:46:54.4761138Z' + - '2020-09-08T20:06:06.7475345Z' status: code: 201 message: Created @@ -247,9 +247,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT x-ms-version: - '2019-12-12' method: HEAD @@ -265,11 +265,11 @@ interactions: content-type: - application/octet-stream date: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT etag: - - '"0x8D85102E4E26222"' + - '"0x8D854329F1C7481"' last-modified: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: @@ -279,7 +279,7 @@ interactions: x-ms-blob-type: - BlockBlob x-ms-creation-time: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT x-ms-is-current-version: - 'true' x-ms-lease-state: @@ -291,7 +291,7 @@ interactions: x-ms-version: - '2019-12-12' x-ms-version-id: - - '2020-09-04T18:46:54.4761138Z' + - '2020-09-08T20:06:06.7475345Z' status: code: 200 message: OK @@ -305,13 +305,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT x-ms-version: - '2019-12-12' method: HEAD - uri: https://storagename.blob.core.windows.net/utcontainerccc51342/blob1?versionid=2020-09-04T18%3A46%3A54.0137837Z + uri: https://storagename.blob.core.windows.net/utcontainerccc51342/blob1?versionid=2020-09-08T20%3A06%3A06.2581881Z response: body: string: '' @@ -325,11 +325,11 @@ interactions: content-type: - application/octet-stream date: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT etag: - - '"0x8D85102E49BFD6D"' + - '"0x8D854329ED1C95E"' last-modified: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: @@ -339,13 +339,13 @@ interactions: x-ms-blob-type: - BlockBlob x-ms-creation-time: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT x-ms-server-encrypted: - 'true' x-ms-version: - '2019-12-12' x-ms-version-id: - - '2020-09-04T18:46:54.0137837Z' + - '2020-09-08T20:06:06.2581881Z' status: code: 200 message: OK @@ -359,13 +359,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT x-ms-version: - '2019-12-12' method: HEAD - uri: https://storagename.blob.core.windows.net/utcontainerccc51342/blob1?versionid=2020-09-04T18%3A46%3A54.4761138Z + uri: https://storagename.blob.core.windows.net/utcontainerccc51342/blob1?versionid=2020-09-08T20%3A06%3A06.7475345Z response: body: string: '' @@ -377,11 +377,11 @@ interactions: content-type: - application/octet-stream date: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT etag: - - '"0x8D85102E4E26222"' + - '"0x8D854329F1C7481"' last-modified: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: @@ -391,7 +391,7 @@ interactions: x-ms-blob-type: - BlockBlob x-ms-creation-time: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT x-ms-is-current-version: - 'true' x-ms-server-encrypted: @@ -399,7 +399,7 @@ interactions: x-ms-version: - '2019-12-12' x-ms-version-id: - - '2020-09-04T18:46:54.4761138Z' + - '2020-09-08T20:06:06.7475345Z' status: code: 200 message: OK @@ -413,9 +413,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT x-ms-version: - '2019-12-12' method: HEAD @@ -425,7 +425,7 @@ interactions: string: '' headers: date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:06 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -449,9 +449,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT x-ms-version: - '2019-12-12' method: PUT @@ -463,21 +463,21 @@ interactions: content-length: - '0' date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:06 GMT etag: - - '"0x8D85102E4E26222"' + - '"0x8D854329F1C7481"' last-modified: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: - 'false' x-ms-snapshot: - - '2020-09-04T18:46:55.2236480Z' + - '2020-09-08T20:06:07.5190821Z' x-ms-version: - '2019-12-12' x-ms-version-id: - - '2020-09-04T18:46:55.2246480Z' + - '2020-09-08T20:06:07.5200821Z' status: code: 201 message: Created @@ -491,13 +491,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT x-ms-version: - '2019-12-12' method: HEAD - uri: https://storagename.blob.core.windows.net/utcontainerccc51342/blob1?snapshot=2020-09-04T18:46:55.2236480Z + uri: https://storagename.blob.core.windows.net/utcontainerccc51342/blob1?snapshot=2020-09-08T20:06:07.5190821Z response: body: string: '' @@ -509,11 +509,11 @@ interactions: content-type: - application/octet-stream date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:06 GMT etag: - - '"0x8D85102E4E26222"' + - '"0x8D854329F1C7481"' last-modified: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: @@ -523,7 +523,7 @@ interactions: x-ms-blob-type: - BlockBlob x-ms-creation-time: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT x-ms-server-encrypted: - 'true' x-ms-version: @@ -545,9 +545,9 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT x-ms-version: - '2019-12-12' method: PUT @@ -559,7 +559,7 @@ interactions: content-length: - '0' date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: @@ -587,9 +587,9 @@ interactions: Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:56 GMT + - Tue, 08 Sep 2020 20:06:07 GMT x-ms-version: - '2019-12-12' method: PUT @@ -601,11 +601,11 @@ interactions: content-length: - '0' date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT etag: - - '"0x8D85102E599C5B2"' + - '"0x8D854329FD93034"' last-modified: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: @@ -615,7 +615,7 @@ interactions: x-ms-version: - '2019-12-12' x-ms-version-id: - - '2020-09-04T18:46:55.6789721Z' + - '2020-09-08T20:06:07.9844164Z' status: code: 201 message: Created @@ -629,13 +629,13 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:56 GMT + - Tue, 08 Sep 2020 20:06:08 GMT x-ms-version: - '2019-12-12' method: HEAD - uri: https://storagename.blob.core.windows.net/utcontainerccc51342/blob1?snapshot=2020-09-04T18:46:55.2236480Z + uri: https://storagename.blob.core.windows.net/utcontainerccc51342/blob1?snapshot=2020-09-08T20:06:07.5190821Z response: body: string: '' @@ -647,11 +647,11 @@ interactions: content-type: - application/octet-stream date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT etag: - - '"0x8D85102E4E26222"' + - '"0x8D854329F1C7481"' last-modified: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: @@ -661,7 +661,7 @@ interactions: x-ms-blob-type: - BlockBlob x-ms-creation-time: - - Fri, 04 Sep 2020 18:46:54 GMT + - Tue, 08 Sep 2020 20:06:06 GMT x-ms-server-encrypted: - 'true' x-ms-version: @@ -679,9 +679,9 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:56 GMT + - Tue, 08 Sep 2020 20:06:08 GMT x-ms-version: - '2019-12-12' method: HEAD @@ -697,11 +697,11 @@ interactions: content-type: - application/octet-stream date: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT etag: - - '"0x8D85102E599C5B2"' + - '"0x8D854329FD93034"' last-modified: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: @@ -711,7 +711,7 @@ interactions: x-ms-blob-type: - BlockBlob x-ms-creation-time: - - Fri, 04 Sep 2020 18:46:55 GMT + - Tue, 08 Sep 2020 20:06:07 GMT x-ms-is-current-version: - 'true' x-ms-lease-state: @@ -723,7 +723,7 @@ interactions: x-ms-version: - '2019-12-12' x-ms-version-id: - - '2020-09-04T18:46:55.6789721Z' + - '2020-09-08T20:06:07.9844164Z' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions_async.test_if_blob_exists.yaml b/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions_async.test_if_blob_exists.yaml index 1efaa06c19713..db92d90de3c90 100644 --- a/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions_async.test_if_blob_exists.yaml +++ b/sdk/storage/azure-storage-blob/tests/recordings/test_blob_access_conditions_async.test_if_blob_exists.yaml @@ -3,9 +3,9 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:41 GMT + - Tue, 08 Sep 2020 20:05:50 GMT x-ms-version: - '2019-12-12' method: PUT @@ -15,9 +15,9 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 04 Sep 2020 18:46:40 GMT - etag: '"0x8D85102DCED6139"' - last-modified: Fri, 04 Sep 2020 18:46:41 GMT + date: Tue, 08 Sep 2020 20:05:50 GMT + etag: '"0x8D8543295B77878"' + last-modified: Tue, 08 Sep 2020 20:05:50 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-version: '2019-12-12' status: @@ -34,11 +34,11 @@ interactions: If-None-Match: - '*' User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-blob-type: - BlockBlob x-ms-date: - - Fri, 04 Sep 2020 18:46:41 GMT + - Tue, 08 Sep 2020 20:05:51 GMT x-ms-version: - '2019-12-12' method: PUT @@ -49,14 +49,14 @@ interactions: headers: content-length: '0' content-md5: XrY7u+Ae7tCTyyK7j1rNww== - date: Fri, 04 Sep 2020 18:46:40 GMT - etag: '"0x8D85102DCFA8B6D"' - last-modified: Fri, 04 Sep 2020 18:46:41 GMT + date: Tue, 08 Sep 2020 20:05:50 GMT + etag: '"0x8D8543295D20E0D"' + last-modified: Tue, 08 Sep 2020 20:05:51 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: vo7q9sPVKY0= x-ms-request-server-encrypted: 'true' x-ms-version: '2019-12-12' - x-ms-version-id: '2020-09-04T18:46:41.2126852Z' + x-ms-version-id: '2020-09-08T20:05:51.1594509Z' status: code: 201 message: Created @@ -65,9 +65,9 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:41 GMT + - Tue, 08 Sep 2020 20:05:51 GMT x-ms-version: - '2019-12-12' method: HEAD @@ -80,20 +80,20 @@ interactions: content-length: '11' content-md5: XrY7u+Ae7tCTyyK7j1rNww== content-type: application/octet-stream - date: Fri, 04 Sep 2020 18:46:40 GMT - etag: '"0x8D85102DCFA8B6D"' - last-modified: Fri, 04 Sep 2020 18:46:41 GMT + date: Tue, 08 Sep 2020 20:05:50 GMT + etag: '"0x8D8543295D20E0D"' + last-modified: Tue, 08 Sep 2020 20:05:51 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: Hot x-ms-access-tier-inferred: 'true' x-ms-blob-type: BlockBlob - x-ms-creation-time: Fri, 04 Sep 2020 18:46:41 GMT + x-ms-creation-time: Tue, 08 Sep 2020 20:05:51 GMT x-ms-is-current-version: 'true' x-ms-lease-state: available x-ms-lease-status: unlocked x-ms-server-encrypted: 'true' x-ms-version: '2019-12-12' - x-ms-version-id: '2020-09-04T18:46:41.2126852Z' + x-ms-version-id: '2020-09-08T20:05:51.1594509Z' status: code: 200 message: OK @@ -106,9 +106,9 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:41 GMT + - Tue, 08 Sep 2020 20:05:51 GMT x-ms-version: - '2019-12-12' method: PUT @@ -118,7 +118,7 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 04 Sep 2020 18:46:41 GMT + date: Tue, 08 Sep 2020 20:05:51 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: wae/Ns62JRA= x-ms-request-server-encrypted: 'true' @@ -137,9 +137,9 @@ interactions: Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:42 GMT + - Tue, 08 Sep 2020 20:05:51 GMT x-ms-version: - '2019-12-12' method: PUT @@ -149,14 +149,14 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 04 Sep 2020 18:46:41 GMT - etag: '"0x8D85102DD486B76"' - last-modified: Fri, 04 Sep 2020 18:46:41 GMT + date: Tue, 08 Sep 2020 20:05:51 GMT + etag: '"0x8D854329647EFDA"' + last-modified: Tue, 08 Sep 2020 20:05:51 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: iEgKfcNWGmY= x-ms-request-server-encrypted: 'true' x-ms-version: '2019-12-12' - x-ms-version-id: '2020-09-04T18:46:41.7230470Z' + x-ms-version-id: '2020-09-08T20:05:51.9330026Z' status: code: 201 message: Created @@ -165,9 +165,9 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:42 GMT + - Tue, 08 Sep 2020 20:05:52 GMT x-ms-version: - '2019-12-12' method: HEAD @@ -179,20 +179,20 @@ interactions: accept-ranges: bytes content-length: '20' content-type: application/octet-stream - date: Fri, 04 Sep 2020 18:46:41 GMT - etag: '"0x8D85102DD486B76"' - last-modified: Fri, 04 Sep 2020 18:46:41 GMT + date: Tue, 08 Sep 2020 20:05:51 GMT + etag: '"0x8D854329647EFDA"' + last-modified: Tue, 08 Sep 2020 20:05:51 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: Hot x-ms-access-tier-inferred: 'true' x-ms-blob-type: BlockBlob - x-ms-creation-time: Fri, 04 Sep 2020 18:46:41 GMT + x-ms-creation-time: Tue, 08 Sep 2020 20:05:51 GMT x-ms-is-current-version: 'true' x-ms-lease-state: available x-ms-lease-status: unlocked x-ms-server-encrypted: 'true' x-ms-version: '2019-12-12' - x-ms-version-id: '2020-09-04T18:46:41.7230470Z' + x-ms-version-id: '2020-09-08T20:05:51.9330026Z' status: code: 200 message: OK @@ -201,13 +201,13 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:42 GMT + - Tue, 08 Sep 2020 20:05:52 GMT x-ms-version: - '2019-12-12' method: HEAD - uri: https://storagename.blob.core.windows.net/utcontainer4a2315bf/blob1?versionid=2020-09-04T18:46:41.2126852Z + uri: https://storagename.blob.core.windows.net/utcontainer4a2315bf/blob1?versionid=2020-09-08T20:05:51.1594509Z response: body: string: '' @@ -216,32 +216,32 @@ interactions: content-length: '11' content-md5: XrY7u+Ae7tCTyyK7j1rNww== content-type: application/octet-stream - date: Fri, 04 Sep 2020 18:46:41 GMT - etag: '"0x8D85102DCFA8B6D"' - last-modified: Fri, 04 Sep 2020 18:46:41 GMT + date: Tue, 08 Sep 2020 20:05:52 GMT + etag: '"0x8D8543295D20E0D"' + last-modified: Tue, 08 Sep 2020 20:05:51 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: Hot x-ms-access-tier-inferred: 'true' x-ms-blob-type: BlockBlob - x-ms-creation-time: Fri, 04 Sep 2020 18:46:41 GMT + x-ms-creation-time: Tue, 08 Sep 2020 20:05:51 GMT x-ms-server-encrypted: 'true' x-ms-version: '2019-12-12' - x-ms-version-id: '2020-09-04T18:46:41.2126852Z' + x-ms-version-id: '2020-09-08T20:05:51.1594509Z' status: code: 200 message: OK - url: https://tamerdevtest.blob.core.windows.net/utcontainer4a2315bf/blob1?versionid=2020-09-04T18:46:41.2126852Z + url: https://tamerdevtest.blob.core.windows.net/utcontainer4a2315bf/blob1?versionid=2020-09-08T20:05:51.1594509Z - request: body: null headers: User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:42 GMT + - Tue, 08 Sep 2020 20:05:52 GMT x-ms-version: - '2019-12-12' method: HEAD - uri: https://storagename.blob.core.windows.net/utcontainer4a2315bf/blob1?versionid=2020-09-04T18:46:41.7230470Z + uri: https://storagename.blob.core.windows.net/utcontainer4a2315bf/blob1?versionid=2020-09-08T20:05:51.9330026Z response: body: string: '' @@ -249,29 +249,29 @@ interactions: accept-ranges: bytes content-length: '20' content-type: application/octet-stream - date: Fri, 04 Sep 2020 18:46:42 GMT - etag: '"0x8D85102DD486B76"' - last-modified: Fri, 04 Sep 2020 18:46:41 GMT + date: Tue, 08 Sep 2020 20:05:51 GMT + etag: '"0x8D854329647EFDA"' + last-modified: Tue, 08 Sep 2020 20:05:51 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: Hot x-ms-access-tier-inferred: 'true' x-ms-blob-type: BlockBlob - x-ms-creation-time: Fri, 04 Sep 2020 18:46:41 GMT + x-ms-creation-time: Tue, 08 Sep 2020 20:05:51 GMT x-ms-is-current-version: 'true' x-ms-server-encrypted: 'true' x-ms-version: '2019-12-12' - x-ms-version-id: '2020-09-04T18:46:41.7230470Z' + x-ms-version-id: '2020-09-08T20:05:51.9330026Z' status: code: 200 message: OK - url: https://tamerdevtest.blob.core.windows.net/utcontainer4a2315bf/blob1?versionid=2020-09-04T18:46:41.7230470Z + url: https://tamerdevtest.blob.core.windows.net/utcontainer4a2315bf/blob1?versionid=2020-09-08T20:05:51.9330026Z - request: body: null headers: User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:42 GMT + - Tue, 08 Sep 2020 20:05:52 GMT x-ms-version: - '2019-12-12' method: HEAD @@ -280,7 +280,7 @@ interactions: body: string: '' headers: - date: Fri, 04 Sep 2020 18:46:42 GMT + date: Tue, 08 Sep 2020 20:05:52 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 transfer-encoding: chunked x-ms-error-code: BlobNotFound @@ -293,9 +293,9 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:43 GMT + - Tue, 08 Sep 2020 20:05:52 GMT x-ms-version: - '2019-12-12' method: PUT @@ -305,14 +305,14 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 04 Sep 2020 18:46:42 GMT - etag: '"0x8D85102DD486B76"' - last-modified: Fri, 04 Sep 2020 18:46:41 GMT + date: Tue, 08 Sep 2020 20:05:52 GMT + etag: '"0x8D854329647EFDA"' + last-modified: Tue, 08 Sep 2020 20:05:51 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: 'false' - x-ms-snapshot: '2020-09-04T18:46:43.1560641Z' + x-ms-snapshot: '2020-09-08T20:05:53.0077686Z' x-ms-version: '2019-12-12' - x-ms-version-id: '2020-09-04T18:46:43.1570641Z' + x-ms-version-id: '2020-09-08T20:05:53.0087686Z' status: code: 201 message: Created @@ -321,13 +321,13 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:43 GMT + - Tue, 08 Sep 2020 20:05:53 GMT x-ms-version: - '2019-12-12' method: HEAD - uri: https://storagename.blob.core.windows.net/utcontainer4a2315bf/blob1?snapshot=2020-09-04T18:46:43.1560641Z + uri: https://storagename.blob.core.windows.net/utcontainer4a2315bf/blob1?snapshot=2020-09-08T20:05:53.0077686Z response: body: string: '' @@ -335,20 +335,20 @@ interactions: accept-ranges: bytes content-length: '20' content-type: application/octet-stream - date: Fri, 04 Sep 2020 18:46:42 GMT - etag: '"0x8D85102DD486B76"' - last-modified: Fri, 04 Sep 2020 18:46:41 GMT + date: Tue, 08 Sep 2020 20:05:52 GMT + etag: '"0x8D854329647EFDA"' + last-modified: Tue, 08 Sep 2020 20:05:51 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: Hot x-ms-access-tier-inferred: 'true' x-ms-blob-type: BlockBlob - x-ms-creation-time: Fri, 04 Sep 2020 18:46:41 GMT + x-ms-creation-time: Tue, 08 Sep 2020 20:05:51 GMT x-ms-server-encrypted: 'true' x-ms-version: '2019-12-12' status: code: 200 message: OK - url: https://tamerdevtest.blob.core.windows.net/utcontainer4a2315bf/blob1?snapshot=2020-09-04T18:46:43.1560641Z + url: https://tamerdevtest.blob.core.windows.net/utcontainer4a2315bf/blob1?snapshot=2020-09-08T20:05:53.0077686Z - request: body: this is additional test content headers: @@ -357,9 +357,9 @@ interactions: Content-Type: - application/octet-stream User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:43 GMT + - Tue, 08 Sep 2020 20:05:53 GMT x-ms-version: - '2019-12-12' method: PUT @@ -369,7 +369,7 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 04 Sep 2020 18:46:42 GMT + date: Tue, 08 Sep 2020 20:05:52 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: npKkArwnhSg= x-ms-request-server-encrypted: 'true' @@ -388,9 +388,9 @@ interactions: Content-Type: - application/xml; charset=utf-8 User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:44 GMT + - Tue, 08 Sep 2020 20:05:53 GMT x-ms-version: - '2019-12-12' method: PUT @@ -400,14 +400,14 @@ interactions: string: '' headers: content-length: '0' - date: Fri, 04 Sep 2020 18:46:42 GMT - etag: '"0x8D85102DE756263"' - last-modified: Fri, 04 Sep 2020 18:46:43 GMT + date: Tue, 08 Sep 2020 20:05:52 GMT + etag: '"0x8D854329722C055"' + last-modified: Tue, 08 Sep 2020 20:05:53 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-content-crc64: iEgKfcNWGmY= x-ms-request-server-encrypted: 'true' x-ms-version: '2019-12-12' - x-ms-version-id: '2020-09-04T18:46:43.6954483Z' + x-ms-version-id: '2020-09-08T20:05:53.3670245Z' status: code: 201 message: Created @@ -416,13 +416,13 @@ interactions: body: null headers: User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:44 GMT + - Tue, 08 Sep 2020 20:05:53 GMT x-ms-version: - '2019-12-12' method: HEAD - uri: https://storagename.blob.core.windows.net/utcontainer4a2315bf/blob1?snapshot=2020-09-04T18:46:43.1560641Z + uri: https://storagename.blob.core.windows.net/utcontainer4a2315bf/blob1?snapshot=2020-09-08T20:05:53.0077686Z response: body: string: '' @@ -430,27 +430,27 @@ interactions: accept-ranges: bytes content-length: '20' content-type: application/octet-stream - date: Fri, 04 Sep 2020 18:46:42 GMT - etag: '"0x8D85102DD486B76"' - last-modified: Fri, 04 Sep 2020 18:46:41 GMT + date: Tue, 08 Sep 2020 20:05:52 GMT + etag: '"0x8D854329647EFDA"' + last-modified: Tue, 08 Sep 2020 20:05:51 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: Hot x-ms-access-tier-inferred: 'true' x-ms-blob-type: BlockBlob - x-ms-creation-time: Fri, 04 Sep 2020 18:46:41 GMT + x-ms-creation-time: Tue, 08 Sep 2020 20:05:51 GMT x-ms-server-encrypted: 'true' x-ms-version: '2019-12-12' status: code: 200 message: OK - url: https://tamerdevtest.blob.core.windows.net/utcontainer4a2315bf/blob1?snapshot=2020-09-04T18:46:43.1560641Z + url: https://tamerdevtest.blob.core.windows.net/utcontainer4a2315bf/blob1?snapshot=2020-09-08T20:05:53.0077686Z - request: body: null headers: User-Agent: - - azsdk-python-storage-blob/12.4.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) + - azsdk-python-storage-blob/12.5.0 Python/3.8.5 (Windows-10-10.0.18362-SP0) x-ms-date: - - Fri, 04 Sep 2020 18:46:44 GMT + - Tue, 08 Sep 2020 20:05:53 GMT x-ms-version: - '2019-12-12' method: HEAD @@ -462,20 +462,20 @@ interactions: accept-ranges: bytes content-length: '31' content-type: application/octet-stream - date: Fri, 04 Sep 2020 18:46:43 GMT - etag: '"0x8D85102DE756263"' - last-modified: Fri, 04 Sep 2020 18:46:43 GMT + date: Tue, 08 Sep 2020 20:05:53 GMT + etag: '"0x8D854329722C055"' + last-modified: Tue, 08 Sep 2020 20:05:53 GMT server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-access-tier: Hot x-ms-access-tier-inferred: 'true' x-ms-blob-type: BlockBlob - x-ms-creation-time: Fri, 04 Sep 2020 18:46:43 GMT + x-ms-creation-time: Tue, 08 Sep 2020 20:05:53 GMT x-ms-is-current-version: 'true' x-ms-lease-state: available x-ms-lease-status: unlocked x-ms-server-encrypted: 'true' x-ms-version: '2019-12-12' - x-ms-version-id: '2020-09-04T18:46:43.6954483Z' + x-ms-version-id: '2020-09-08T20:05:53.3670245Z' status: code: 200 message: OK diff --git a/sdk/storage/azure-storage-blob/tests/test_blob_access_conditions.py b/sdk/storage/azure-storage-blob/tests/test_blob_access_conditions.py index 5721447f62c5c..d711422decb5e 100644 --- a/sdk/storage/azure-storage-blob/tests/test_blob_access_conditions.py +++ b/sdk/storage/azure-storage-blob/tests/test_blob_access_conditions.py @@ -715,6 +715,7 @@ def test_get_blob_properties_with_if_modified(self, resource_group, location, st self.assertEqual(properties.size, 11) self.assertEqual(properties.lease.status, 'unlocked') + @pytest.mark.playback_test_only @GlobalStorageAccountPreparer() def test_if_blob_exists(self, resource_group, location, storage_account, storage_account_key): bsc = BlobServiceClient(self.account_url(storage_account, "blob"), storage_account_key, connection_data_block_size=4 * 1024) diff --git a/sdk/storage/azure-storage-blob/tests/test_blob_access_conditions_async.py b/sdk/storage/azure-storage-blob/tests/test_blob_access_conditions_async.py index b353b5fa0b16d..4022ef1d43ac9 100644 --- a/sdk/storage/azure-storage-blob/tests/test_blob_access_conditions_async.py +++ b/sdk/storage/azure-storage-blob/tests/test_blob_access_conditions_async.py @@ -744,6 +744,7 @@ async def test_set_blob_props_with_if_none_match_fail(self, resource_group, loca # Assert self.assertEqual(StorageErrorCode.condition_not_met, e.exception.error_code) + @pytest.mark.playback_test_only @GlobalStorageAccountPreparer() @AsyncStorageTestCase.await_prepared_test async def test_if_blob_exists(self, resource_group, location, storage_account, storage_account_key):