From 5015dbd8785f2fd2822aa0f6f9331fb5b7cf4a0e Mon Sep 17 00:00:00 2001 From: Max Shytikov Date: Mon, 7 Apr 2014 01:30:48 +0200 Subject: [PATCH] Improved test samples --- tests/unit/test_matchers.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/unit/test_matchers.py b/tests/unit/test_matchers.py index 2462fce..e3c85fb 100644 --- a/tests/unit/test_matchers.py +++ b/tests/unit/test_matchers.py @@ -6,13 +6,13 @@ from vcr import request # the dict contains requests with corresponding to its key difference # with 'base' request. REQUESTS = { - 'base': request.Request('GET', 'http://host.com:80/', '', {}), - 'method': request.Request('POST', 'http://host.com:80/', '', {}), - 'protocol': request.Request('GET', 'https://host.com:80/', '', {}), - 'host': request.Request('GET', 'http://another-host.com:80/', '', {}), - 'port': request.Request('GET', 'http://host.com:90/', '', {}), - 'path': request.Request('GET', 'http://host.com:80/a', '', {}), - 'query': request.Request('GET', 'http://host.com:80/?a=b', '', {}), + 'base': request.Request('GET', 'http://host.com:80/p?a=b', '', {}), + 'method': request.Request('POST', 'http://host.com:80/p?a=b', '', {}), + 'protocol': request.Request('GET', 'https://host.com:80/p?a=b', '', {}), + 'host': request.Request('GET', 'http://another-host.com:80/p?a=b', '', {}), + 'port': request.Request('GET', 'http://host.com:90/p?a=b', '', {}), + 'path': request.Request('GET', 'http://host.com:80/x?a=b', '', {}), + 'query': request.Request('GET', 'http://host.com:80/p?c=d', '', {}), }