1
0
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:
Max Shytikov
2014-04-26 22:29:34 +02:00
parent eedafb19ee
commit b6195bf41e
2 changed files with 12 additions and 10 deletions

View File

@@ -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",

View File

@@ -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: