mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-10 01:25:34 +00:00
Replaced yaml dump of Request object with plain dict dump
This commit is contained in:
8
tests/fixtures/migration/new_cassette.yaml
vendored
8
tests/fixtures/migration/new_cassette.yaml
vendored
@@ -1,9 +1,7 @@
|
||||
- request: !!python/object:vcr.request.Request
|
||||
- request:
|
||||
body: null
|
||||
headers: !!python/object/apply:__builtin__.frozenset
|
||||
- - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
|
||||
- !!python/tuple [User-Agent, python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0]
|
||||
- !!python/tuple [Accept, '*/*']
|
||||
headers: {Accept: '*/*', Accept-Encoding: 'gzip, deflate, compress', User-Agent: python-requests/2.2.1
|
||||
CPython/2.6.1 Darwin/10.8.0}
|
||||
method: GET
|
||||
uri: http://httpbin.org:80/ip
|
||||
response:
|
||||
|
||||
14
tests/fixtures/wild/domain_redirect.yaml
vendored
14
tests/fixtures/wild/domain_redirect.yaml
vendored
@@ -1,9 +1,6 @@
|
||||
- request: !!python/object:vcr.request.Request
|
||||
- request:
|
||||
body: null
|
||||
headers: !!python/object/apply:__builtin__.frozenset
|
||||
- - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
|
||||
- !!python/tuple [User-Agent, vcrpy-test]
|
||||
- !!python/tuple [Accept, '*/*']
|
||||
headers: {Accept: '*/*', Accept-Encoding: 'gzip, deflate, compress', User-Agent: vcrpy-test}
|
||||
method: GET
|
||||
uri: http://seomoz.org:80/
|
||||
response:
|
||||
@@ -11,12 +8,9 @@
|
||||
headers: ["Location: http://moz.com/\r\n", "Server: BigIP\r\n", "Connection: Keep-Alive\r\n",
|
||||
"Content-Length: 0\r\n"]
|
||||
status: {code: 301, message: Moved Permanently}
|
||||
- request: !!python/object:vcr.request.Request
|
||||
- request:
|
||||
body: null
|
||||
headers: !!python/object/apply:__builtin__.frozenset
|
||||
- - !!python/tuple [Accept-Encoding, 'gzip, deflate, compress']
|
||||
- !!python/tuple [User-Agent, vcrpy-test]
|
||||
- !!python/tuple [Accept, '*/*']
|
||||
headers: {Accept: '*/*', Accept-Encoding: 'gzip, deflate, compress', User-Agent: vcrpy-test}
|
||||
method: GET
|
||||
uri: http://moz.com:80/
|
||||
response:
|
||||
|
||||
Reference in New Issue
Block a user