1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 17:15:35 +00:00

Replaced 'url' mather with 'uri'.

This commit is contained in:
Max Shytikov
2014-04-11 01:32:10 +02:00
parent 7fe55ad8b8
commit 2fa1aaa1f7
6 changed files with 15 additions and 14 deletions

View File

@@ -26,9 +26,9 @@ def assert_matcher(matcher_name):
assert matched
def test_url_matcher():
def test_uri_matcher():
for k1, k2 in itertools.permutations(REQUESTS, 2):
matched = matchers.url(REQUESTS[k1], REQUESTS[k2])
matched = matchers.uri(REQUESTS[k1], REQUESTS[k2])
if set((k1, k2)) != set(('base', 'method')):
assert not matched
else: