mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-10 17:45:35 +00:00
Updated migration fixtures in correspondence with new fixture format
This commit is contained in:
16
tests/fixtures/migration/new_cassette.json
vendored
16
tests/fixtures/migration/new_cassette.json
vendored
@@ -1,15 +1,15 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"request": {
|
"request": {
|
||||||
"body": null,
|
"body": null,
|
||||||
"method": "GET",
|
|
||||||
"headers": {
|
"headers": {
|
||||||
"Accept-Encoding": "gzip, deflate, compress",
|
"Accept": ["*/*"],
|
||||||
"Accept": "*/*",
|
"Accept-Encoding": ["gzip, deflate, compress"],
|
||||||
"User-Agent": "python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0"
|
"User-Agent": ["python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0"]
|
||||||
},
|
},
|
||||||
"uri" : "http://httpbin.org:80/ip"
|
"method": "GET",
|
||||||
},
|
"uri": "http://httpbin.org:80/ip"
|
||||||
|
},
|
||||||
"response": {
|
"response": {
|
||||||
"status": {
|
"status": {
|
||||||
"message": "OK",
|
"message": "OK",
|
||||||
|
|||||||
6
tests/fixtures/migration/new_cassette.yaml
vendored
6
tests/fixtures/migration/new_cassette.yaml
vendored
@@ -1,7 +1,9 @@
|
|||||||
- request:
|
- request:
|
||||||
body: null
|
body: null
|
||||||
headers: {Accept: '*/*', Accept-Encoding: 'gzip, deflate, compress', User-Agent: python-requests/2.2.1
|
headers:
|
||||||
CPython/2.6.1 Darwin/10.8.0}
|
Accept: ['*/*']
|
||||||
|
Accept-Encoding: ['gzip, deflate, compress']
|
||||||
|
User-Agent: ['python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0']
|
||||||
method: GET
|
method: GET
|
||||||
uri: http://httpbin.org:80/ip
|
uri: http://httpbin.org:80/ip
|
||||||
response:
|
response:
|
||||||
|
|||||||
Reference in New Issue
Block a user