From d1a3ab56b106cd9c2730ab4915ea3f6d1a52a108 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Sat, 3 May 2014 19:56:15 -1000 Subject: [PATCH] update migration fixtures --- tests/fixtures/migration/new_cassette.json | 16 ++++++++-------- tests/fixtures/migration/new_cassette.yaml | 11 +++++++---- 2 files changed, 15 insertions(+), 12 deletions(-) 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}