Skip to content

Commit

Permalink
Add test recordings
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy committed Feb 7, 2019
1 parent b93d6d1 commit 1a2c276
Showing 1 changed file with 106 additions and 0 deletions.
106 changes: 106 additions & 0 deletions tests/recordings/test_container.test_list_names.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
interactions:
- request:
body: null
headers:
Connection: [keep-alive]
Content-Length: ['0']
User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
x-ms-client-request-id: [54ed1e2a-e474-11e8-9ac5-acde48001122]
x-ms-date: ['Fri, 09 Nov 2018 23:08:12 GMT']
x-ms-version: ['2018-03-28']
method: PUT
uri: https://storagename.blob.core.windows.net/containerc02c0c5f?restype=container
response:
body: {string: ''}
headers:
Date: ['Fri, 09 Nov 2018 23:08:11 GMT']
ETag: ['"0x8D646983935CBA5"']
Last-Modified: ['Fri, 09 Nov 2018 23:08:12 GMT']
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
Transfer-Encoding: [chunked]
x-ms-request-id: [13632f99-b01e-0015-7d81-780db2000000]
x-ms-version: ['2018-03-28']
status: {code: 201, message: Created}
- request:
body: hello world
headers:
Connection: [keep-alive]
Content-Length: ['11']
User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
x-ms-blob-type: [BlockBlob]
x-ms-client-request-id: [5505f440-e474-11e8-9ac5-acde48001122]
x-ms-date: ['Fri, 09 Nov 2018 23:08:12 GMT']
x-ms-version: ['2018-03-28']
method: PUT
uri: https://storagename.blob.core.windows.net/containerc02c0c5f/blob1
response:
body: {string: ''}
headers:
Content-MD5: [XrY7u+Ae7tCTyyK7j1rNww==]
Date: ['Fri, 09 Nov 2018 23:08:12 GMT']
ETag: ['"0x8D646983937A651"']
Last-Modified: ['Fri, 09 Nov 2018 23:08:12 GMT']
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
Transfer-Encoding: [chunked]
x-ms-request-id: [13632fb1-b01e-0015-1281-780db2000000]
x-ms-request-server-encrypted: ['true']
x-ms-version: ['2018-03-28']
status: {code: 201, message: Created}
- request:
body: hello world
headers:
Connection: [keep-alive]
Content-Length: ['11']
User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
x-ms-blob-type: [BlockBlob]
x-ms-client-request-id: [550ceeda-e474-11e8-9ac5-acde48001122]
x-ms-date: ['Fri, 09 Nov 2018 23:08:12 GMT']
x-ms-version: ['2018-03-28']
method: PUT
uri: https://storagename.blob.core.windows.net/containerc02c0c5f/blob2
response:
body: {string: ''}
headers:
Content-MD5: [XrY7u+Ae7tCTyyK7j1rNww==]
Date: ['Fri, 09 Nov 2018 23:08:12 GMT']
ETag: ['"0x8D64698393EACDE"']
Last-Modified: ['Fri, 09 Nov 2018 23:08:12 GMT']
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
Transfer-Encoding: [chunked]
x-ms-request-id: [13632fc6-b01e-0015-2481-780db2000000]
x-ms-request-server-encrypted: ['true']
x-ms-version: ['2018-03-28']
status: {code: 201, message: Created}
- request:
body: null
headers:
Connection: [keep-alive]
User-Agent: [Azure-Storage/1.4.0-1.4.0 (Python CPython 3.7.0; Darwin 18.2.0)]
x-ms-client-request-id: [5513d470-e474-11e8-9ac5-acde48001122]
x-ms-date: ['Fri, 09 Nov 2018 23:08:12 GMT']
x-ms-version: ['2018-03-28']
method: GET
uri: https://storagename.blob.core.windows.net/containerc02c0c5f?restype=container&comp=list
response:
body: {string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults\
\ ServiceEndpoint=\"https://storagename.blob.core.windows.net/\" ContainerName=\"\
containerc02c0c5f\"><Blobs><Blob><Name>blob1</Name><Properties><Creation-Time>Fri,\
\ 09 Nov 2018 23:08:12 GMT</Creation-Time><Last-Modified>Fri, 09 Nov 2018\
\ 23:08:12 GMT</Last-Modified><Etag>0x8D646983937A651</Etag><Content-Length>11</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding\
\ /><Content-Language /><Content-MD5>XrY7u+Ae7tCTyyK7j1rNww==</Content-MD5><Cache-Control\
\ /><Content-Disposition /><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties></Blob><Blob><Name>blob2</Name><Properties><Creation-Time>Fri,\
\ 09 Nov 2018 23:08:12 GMT</Creation-Time><Last-Modified>Fri, 09 Nov 2018\
\ 23:08:12 GMT</Last-Modified><Etag>0x8D64698393EACDE</Etag><Content-Length>11</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding\
\ /><Content-Language /><Content-MD5>XrY7u+Ae7tCTyyK7j1rNww==</Content-MD5><Cache-Control\
\ /><Content-Disposition /><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties></Blob></Blobs><NextMarker\
\ /></EnumerationResults>"}
headers:
Content-Type: [application/xml]
Date: ['Fri, 09 Nov 2018 23:08:12 GMT']
Server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0]
Transfer-Encoding: [chunked]
Vary: [Origin]
x-ms-request-id: [13632fe1-b01e-0015-3d81-780db2000000]
x-ms-version: ['2018-03-28']
status: {code: 200, message: OK}
version: 1

0 comments on commit 1a2c276

Please sign in to comment.