]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
Fixed available matchers declaration
authorMax Shytikov <mshytikov@gmail.com>
Thu, 10 Apr 2014 23:33:30 +0000 (01:33 +0200)
committerMax Shytikov <mshytikov@gmail.com>
Wed, 30 Apr 2014 00:31:11 +0000 (02:31 +0200)
vcr/config.py

index e8848ff58b23d173b63a9263364e26b613af7b4e..9789583509296fd6921f31c5cf945379a605f7dc 100644 (file)
@@ -34,9 +34,9 @@ class VCR(object):
             'url': matchers.uri,  # matcher for backwards compatibility
             'scheme': matchers.scheme,
             'host': matchers.host,
-            'port': matchers.method,
+            'port': matchers.port,
             'path': matchers.path,
-            'query': matchers.path,
+            'query': matchers.query,
             'headers': matchers.headers,
             'body': matchers.body,
         }