Skip to content

Commit 81de698

Browse files
[Storage] Migrate test_blob_storage_account to test proxy (Azure#25332)
1 parent afa9010 commit 81de698

14 files changed

+2089
-2750
lines changed

sdk/storage/azure-storage-blob/tests/recordings/test_blob_storage_account.pyTestBlobStorageAccounttest_rehydration_status.json

Lines changed: 354 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
{
2+
"Entries": [
3+
{
4+
"RequestUri": "https://storagename.blob.core.windows.net/utcontainer2c793ab6?restype=container",
5+
"RequestMethod": "PUT",
6+
"RequestHeaders": {
7+
"Accept": "application/xml",
8+
"Accept-Encoding": "gzip, deflate",
9+
"Connection": "keep-alive",
10+
"Content-Length": "0",
11+
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
12+
"x-ms-date": "Wed, 20 Jul 2022 21:11:33 GMT",
13+
"x-ms-version": "2021-08-06"
14+
},
15+
"RequestBody": null,
16+
"StatusCode": 201,
17+
"ResponseHeaders": {
18+
"Content-Length": "0",
19+
"Date": "Wed, 20 Jul 2022 21:11:32 GMT",
20+
"ETag": "\u00220x8DA6A946C618A95\u0022",
21+
"Last-Modified": "Wed, 20 Jul 2022 21:11:33 GMT",
22+
"Server": [
23+
"Windows-Azure-Blob/1.0",
24+
"Microsoft-HTTPAPI/2.0"
25+
],
26+
"x-ms-version": "2021-08-06"
27+
},
28+
"ResponseBody": null
29+
},
30+
{
31+
"RequestUri": "https://storagename.blob.core.windows.net/utcontainer2c793ab6/blob2c793ab6",
32+
"RequestMethod": "PUT",
33+
"RequestHeaders": {
34+
"Accept": "application/xml",
35+
"Accept-Encoding": "gzip, deflate",
36+
"Connection": "keep-alive",
37+
"Content-Length": "0",
38+
"Content-Type": "application/octet-stream",
39+
"If-None-Match": "*",
40+
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
41+
"x-ms-blob-type": "BlockBlob",
42+
"x-ms-date": "Wed, 20 Jul 2022 21:11:34 GMT",
43+
"x-ms-version": "2021-08-06"
44+
},
45+
"RequestBody": null,
46+
"StatusCode": 201,
47+
"ResponseHeaders": {
48+
"Content-Length": "0",
49+
"Content-MD5": "1B2M2Y8AsgTpgAmY7PhCfg==",
50+
"Date": "Wed, 20 Jul 2022 21:11:32 GMT",
51+
"ETag": "\u00220x8DA6A946C706B6E\u0022",
52+
"Last-Modified": "Wed, 20 Jul 2022 21:11:33 GMT",
53+
"Server": [
54+
"Windows-Azure-Blob/1.0",
55+
"Microsoft-HTTPAPI/2.0"
56+
],
57+
"x-ms-content-crc64": "AAAAAAAAAAA=",
58+
"x-ms-request-server-encrypted": "true",
59+
"x-ms-version": "2021-08-06"
60+
},
61+
"ResponseBody": null
62+
},
63+
{
64+
"RequestUri": "https://storagename.blob.core.windows.net/utcontainer2c793ab6/blob2c793ab6?comp=tier",
65+
"RequestMethod": "PUT",
66+
"RequestHeaders": {
67+
"Accept": "application/xml",
68+
"Accept-Encoding": "gzip, deflate",
69+
"Connection": "keep-alive",
70+
"Content-Length": "0",
71+
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
72+
"x-ms-access-tier": "Archive",
73+
"x-ms-date": "Wed, 20 Jul 2022 21:11:34 GMT",
74+
"x-ms-rehydrate-priority": "Standard",
75+
"x-ms-version": "2021-08-06"
76+
},
77+
"RequestBody": null,
78+
"StatusCode": 200,
79+
"ResponseHeaders": {
80+
"Content-Length": "0",
81+
"Date": "Wed, 20 Jul 2022 21:11:32 GMT",
82+
"Server": [
83+
"Windows-Azure-Blob/1.0",
84+
"Microsoft-HTTPAPI/2.0"
85+
],
86+
"x-ms-version": "2021-08-06"
87+
},
88+
"ResponseBody": null
89+
},
90+
{
91+
"RequestUri": "https://storagename.blob.core.windows.net/utcontainer2c793ab6/blob2c793ab6?comp=tier",
92+
"RequestMethod": "PUT",
93+
"RequestHeaders": {
94+
"Accept": "application/xml",
95+
"Accept-Encoding": "gzip, deflate",
96+
"Connection": "keep-alive",
97+
"Content-Length": "0",
98+
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
99+
"x-ms-access-tier": "Cool",
100+
"x-ms-date": "Wed, 20 Jul 2022 21:11:34 GMT",
101+
"x-ms-version": "2021-08-06"
102+
},
103+
"RequestBody": null,
104+
"StatusCode": 202,
105+
"ResponseHeaders": {
106+
"Content-Length": "0",
107+
"Date": "Wed, 20 Jul 2022 21:11:32 GMT",
108+
"Server": [
109+
"Windows-Azure-Blob/1.0",
110+
"Microsoft-HTTPAPI/2.0"
111+
],
112+
"x-ms-version": "2021-08-06"
113+
},
114+
"ResponseBody": null
115+
},
116+
{
117+
"RequestUri": "https://storagename.blob.core.windows.net/utcontainer2c793ab6/blob2c793ab6",
118+
"RequestMethod": "HEAD",
119+
"RequestHeaders": {
120+
"Accept": "application/xml",
121+
"Accept-Encoding": "gzip, deflate",
122+
"Connection": "keep-alive",
123+
"User-Agent": "azsdk-python-storage-blob/12.14.0b1 Python/3.10.2 (Windows-10-10.0.19044-SP0)",
124+
"x-ms-date": "Wed, 20 Jul 2022 21:11:34 GMT",
125+
"x-ms-version": "2021-08-06"
126+
},
127+
"RequestBody": null,
128+
"StatusCode": 200,
129+
"ResponseHeaders": {
130+
"Accept-Ranges": "bytes",
131+
"Content-Length": "0",
132+
"Content-MD5": "1B2M2Y8AsgTpgAmY7PhCfg==",
133+
"Content-Type": "application/octet-stream",
134+
"Date": "Wed, 20 Jul 2022 21:11:32 GMT",
135+
"ETag": "\u00220x8DA6A946C706B6E\u0022",
136+
"Last-Modified": "Wed, 20 Jul 2022 21:11:33 GMT",
137+
"Server": [
138+
"Windows-Azure-Blob/1.0",
139+
"Microsoft-HTTPAPI/2.0"
140+
],
141+
"x-ms-access-tier": "Archive",
142+
"x-ms-access-tier-change-time": "Wed, 20 Jul 2022 21:11:33 GMT",
143+
"x-ms-archive-status": "rehydrate-pending-to-cool",
144+
"x-ms-blob-type": "BlockBlob",
145+
"x-ms-creation-time": "Wed, 20 Jul 2022 21:11:33 GMT",
146+
"x-ms-lease-state": "available",
147+
"x-ms-lease-status": "unlocked",
148+
"x-ms-rehydrate-priority": "Standard",
149+
"x-ms-server-encrypted": "true",
150+
"x-ms-version": "2021-08-06"
151+
},
152+
"ResponseBody": null
153+
}
154+
],
155+
"Variables": {}
156+
}

0 commit comments

Comments
 (0)