1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Added 'scheme' to Request with matcher and test

This commit is contained in:
Max Shytikov
2014-04-07 01:56:55 +02:00
parent 4e9d5f6885
commit 4267828a3e
3 changed files with 10 additions and 1 deletions

View File

@@ -13,6 +13,10 @@ def host(r1, r2):
return r1.host == r2.host
def scheme(r1, r2):
return r1.scheme == r2.scheme
def port(r1, r2):
return r1.port == r2.port