]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
update migration fixtures
authorKevin McCarthy <me@kevinmccarthy.org>
Sun, 4 May 2014 05:56:15 +0000 (19:56 -1000)
committerKevin McCarthy <me@kevinmccarthy.org>
Sat, 10 May 2014 21:52:34 +0000 (11:52 -1000)
tests/fixtures/migration/new_cassette.json
tests/fixtures/migration/new_cassette.yaml

index acf12673e33dcba9549937186a7b7c72d81bd876..ea7b4c2fcccf4534e2e6ebfb9b5f522d5dad13ae 100644 (file)
                 "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}"
             }
index 58d19ea8c30b7f234515a963c62ca65ed8220e65..ea3745991f7e4574cd03eef8bbe219a6fddc89ed 100644 (file)
@@ -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}