-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4260fc7
commit 73e81db
Showing
93 changed files
with
75,928 additions
and
0 deletions.
There are no files selected for viewing
75 changes: 75 additions & 0 deletions
75
azure-storage/tests/recordings/test_storage_file.test_clear_file.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:11:36 GMT'] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utsharee6b50d67?restype=share | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:11:35 GMT'] | ||
ETag: ['"0x8D2920894B9ED41"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:11:36 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [0e1473f9-001a-0054-6cf1-c31580000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-content-length: ['1024'] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:11:36 GMT'] | ||
x-ms-type: [file] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utsharee6b50d67/file1 | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:11:35 GMT'] | ||
ETag: ['"0x8D2920894DC020D"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:11:36 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [0e1473fb-001a-0054-6df1-c31580000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:11:36 GMT'] | ||
x-ms-range: [bytes=0-511] | ||
x-ms-version: ['2014-02-14'] | ||
x-ms-write: [clear] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utsharee6b50d67/file1?comp=range | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:11:35 GMT'] | ||
ETag: ['"0x8D2920894E52A33"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:11:36 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [0e1473fc-001a-0054-6ef1-c31580000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
version: 1 |
48 changes: 48 additions & 0 deletions
48
azure-storage/tests/recordings/test_storage_file.test_create_directories.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:12:10 GMT'] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utshare619810d1?restype=share | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:12:10 GMT'] | ||
ETag: ['"0x8D29208A969EC36"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:12:11 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [75e00aaa-001a-002c-1ff1-c37d37000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:12:11 GMT'] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utshare619810d1/dir1?restype=directory | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:12:10 GMT'] | ||
ETag: ['"0x8D29208A985AD51"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:12:11 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [75e00aac-001a-002c-20f1-c37d37000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
version: 1 |
72 changes: 72 additions & 0 deletions
72
azure-storage/tests/recordings/test_storage_file.test_create_directories_fail_on_exist.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:12:17 GMT'] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utshare77351694?restype=share | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:12:17 GMT'] | ||
ETag: ['"0x8D29208AD612B4A"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:12:17 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [468e0f76-001a-003a-3ff1-c3bca9000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:12:18 GMT'] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utshare77351694/dir1?restype=directory | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:12:17 GMT'] | ||
ETag: ['"0x8D29208ADA087A4"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:12:18 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [468e0f78-001a-003a-40f1-c3bca9000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:12:18 GMT'] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utshare77351694/dir1?restype=directory | ||
response: | ||
body: {string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>ResourceAlreadyExists</Code><Message>The\ | ||
\ specified resource already exists.\nRequestId:468e0f79-001a-003a-41f1-c3bca9000000\n\ | ||
Time:2015-07-21T20:12:18.0641525Z</Message></Error>"} | ||
headers: | ||
Content-Length: ['228'] | ||
Content-Type: [application/xml] | ||
Date: ['Tue, 21 Jul 2015 20:12:17 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
x-ms-request-id: [468e0f79-001a-003a-41f1-c3bca9000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 409, message: The specified resource already exists.} | ||
version: 1 |
72 changes: 72 additions & 0 deletions
72
...s/recordings/test_storage_file.test_create_directory_with_already_existing_directory.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:09:53 GMT'] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utshare1c221d63?restype=share | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:09:52 GMT'] | ||
ETag: ['"0x8D2920857228A74"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:09:53 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [9597d38e-001a-0035-0ff1-c3515f000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:09:53 GMT'] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utshare1c221d63/dir1?restype=directory | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:09:52 GMT'] | ||
ETag: ['"0x8D292085765C105"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:09:53 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [9597d390-001a-0035-10f1-c3515f000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:09:53 GMT'] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utshare1c221d63/dir1?restype=directory | ||
response: | ||
body: {string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>ResourceAlreadyExists</Code><Message>The\ | ||
\ specified resource already exists.\nRequestId:9597d391-001a-0035-11f1-c3515f000000\n\ | ||
Time:2015-07-21T20:09:53.5246772Z</Message></Error>"} | ||
headers: | ||
Content-Length: ['228'] | ||
Content-Type: [application/xml] | ||
Date: ['Tue, 21 Jul 2015 20:09:53 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
x-ms-request-id: [9597d391-001a-0035-11f1-c3515f000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 409, message: The specified resource already exists.} | ||
version: 1 |
50 changes: 50 additions & 0 deletions
50
azure-storage/tests/recordings/test_storage_file.test_create_file.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:11:34 GMT'] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utsharef4c50dd4?restype=share | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:11:34 GMT'] | ||
ETag: ['"0x8D2920893C7FEE3"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:11:34 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [2e46bdce-001a-0015-20f1-c33d93000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-content-length: ['1024'] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:11:35 GMT'] | ||
x-ms-type: [file] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utsharef4c50dd4/file1 | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:11:34 GMT'] | ||
ETag: ['"0x8D2920893F08905"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:11:35 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [2e46bdd0-001a-0015-21f1-c33d93000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
version: 1 |
77 changes: 77 additions & 0 deletions
77
azure-storage/tests/recordings/test_storage_file.test_create_file_with_metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:11:39 GMT'] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utsharee1bc138f?restype=share | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:11:39 GMT'] | ||
ETag: ['"0x8D2920896C21A75"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:11:39 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [4bee58bb-001a-001e-57f1-c325e7000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Length: ['0'] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-content-length: ['1024'] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:11:39 GMT'] | ||
x-ms-meta-hello: [world] | ||
x-ms-meta-number: ['42'] | ||
x-ms-type: [file] | ||
x-ms-version: ['2014-02-14'] | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utsharee1bc138f/file1 | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:11:39 GMT'] | ||
ETag: ['"0x8D2920896BC916F"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:11:39 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
x-ms-request-id: [4bee58bd-001a-001e-58f1-c325e7000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 201, message: Created} | ||
- request: | ||
body: null | ||
headers: | ||
Accept-Encoding: ['gzip, deflate'] | ||
Connection: [keep-alive] | ||
Content-Type: [application/octet-stream Charset=UTF-8] | ||
User-Agent: [pyazure/0.20.0] | ||
x-ms-date: ['Tue, 21 Jul 2015 20:11:39 GMT'] | ||
x-ms-version: ['2014-02-14'] | ||
method: GET | ||
uri: https://storagename.file.core.windows.net/utsharee1bc138f/file1?comp=metadata | ||
response: | ||
body: {string: ''} | ||
headers: | ||
Date: ['Tue, 21 Jul 2015 20:11:39 GMT'] | ||
ETag: ['"0x8D2920896BC916F"'] | ||
Last-Modified: ['Tue, 21 Jul 2015 20:11:39 GMT'] | ||
Server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] | ||
Transfer-Encoding: [chunked] | ||
Vary: [Origin] | ||
x-ms-meta-hello: [world] | ||
x-ms-meta-number: ['42'] | ||
x-ms-request-id: [4bee58be-001a-001e-59f1-c325e7000000] | ||
x-ms-version: ['2014-02-14'] | ||
status: {code: 200, message: OK} | ||
version: 1 |
Oops, something went wrong.