]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
Updated migration fixtures in correspondence with new fixture format
authorMax Shytikov <mshytikov@gmail.com>
Sat, 26 Apr 2014 20:29:34 +0000 (22:29 +0200)
committerMax Shytikov <mshytikov@gmail.com>
Wed, 30 Apr 2014 00:36:27 +0000 (02:36 +0200)
tests/fixtures/migration/new_cassette.json
tests/fixtures/migration/new_cassette.yaml

index b0e5dabbdf06764ebd323aec10f42d6ee60006fa..166c4fc9f10aa89bf74cd2175bf5a52b677a66ad 100644 (file)
@@ -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", 
index 649da68789ea673e475a8f4a78943515e9360aa3..2adcbe44ed2e274bd9003d4b4c165e600abeed4f 100644 (file)
@@ -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: