diff --git a/tests/fixtures/migration/new_cassette.json b/tests/fixtures/migration/new_cassette.json index acf1267..ea7b4c2 100644 --- a/tests/fixtures/migration/new_cassette.json +++ b/tests/fixtures/migration/new_cassette.json @@ -15,14 +15,14 @@ "message": "OK", "code": 200 }, - "headers": [ - "Access-Control-Allow-Origin: *\r\n", - "Content-Type: application/json\r\n", - "Date: Mon, 21 Apr 2014 23:13:40 GMT\r\n", - "Server: gunicorn/0.17.4\r\n", - "Content-Length: 32\r\n", - "Connection: keep-alive\r\n" - ], + "headers": { + "Access-Control-Allow-Origin": ["*"], + "Content-Type": ["application/json"], + "Date": ["Mon, 21 Apr 2014 23:13:40 GMT"], + "Server": ["gunicorn/0.17.4"], + "Content-Length": ["32"], + "Connection": ["keep-alive"] + }, "body": { "string": "{\n \"origin\": \"217.122.164.194\"\n}" } diff --git a/tests/fixtures/migration/new_cassette.yaml b/tests/fixtures/migration/new_cassette.yaml index 58d19ea..ea37459 100644 --- a/tests/fixtures/migration/new_cassette.yaml +++ b/tests/fixtures/migration/new_cassette.yaml @@ -8,8 +8,11 @@ uri: http://httpbin.org/ip response: body: {string: !!python/unicode "{\n \"origin\": \"217.122.164.194\"\n}"} - headers: [!!python/unicode "Access-Control-Allow-Origin: *\r\n", !!python/unicode "Content-Type: - application/json\r\n", !!python/unicode "Date: Mon, 21 Apr 2014 23:06:09 GMT\r\n", - !!python/unicode "Server: gunicorn/0.17.4\r\n", !!python/unicode "Content-Length: - 32\r\n", !!python/unicode "Connection: keep-alive\r\n"] + headers: + Access-Control-Allow-Origin: ['*'] + Content-Type: [application/json] + Date: ['Mon, 21 Apr 2014 23:06:09 GMT'] + Server: [gunicorn/0.17.4] + Content-Length: ['32'] + Connection: [keep-alive] status: {code: 200, message: OK}