From b6195bf41efa1097eeacb79c6a7488275c15b23e Mon Sep 17 00:00:00 2001 From: Max Shytikov Date: Sat, 26 Apr 2014 22:29:34 +0200 Subject: [PATCH] Updated migration fixtures in correspondence with new fixture format --- tests/fixtures/migration/new_cassette.json | 16 ++++++++-------- tests/fixtures/migration/new_cassette.yaml | 6 ++++-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/tests/fixtures/migration/new_cassette.json b/tests/fixtures/migration/new_cassette.json index b0e5dab..166c4fc 100644 --- a/tests/fixtures/migration/new_cassette.json +++ b/tests/fixtures/migration/new_cassette.json @@ -1,15 +1,15 @@ [ { "request": { - "body": null, - "method": "GET", + "body": null, "headers": { - "Accept-Encoding": "gzip, deflate, compress", - "Accept": "*/*", - "User-Agent": "python-requests/2.2.1 CPython/2.6.1 Darwin/10.8.0" - }, - "uri" : "http://httpbin.org:80/ip" - }, + "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": { "status": { "message": "OK", diff --git a/tests/fixtures/migration/new_cassette.yaml b/tests/fixtures/migration/new_cassette.yaml index 649da68..2adcbe4 100644 --- a/tests/fixtures/migration/new_cassette.yaml +++ b/tests/fixtures/migration/new_cassette.yaml @@ -1,7 +1,9 @@ - request: body: null - headers: {Accept: '*/*', Accept-Encoding: 'gzip, deflate, compress', User-Agent: python-requests/2.2.1 - CPython/2.6.1 Darwin/10.8.0} + 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: