mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
test_boto_stubs passes again.
This commit is contained in:
@@ -14,7 +14,7 @@ def test_boto_stubs(tmpdir):
|
|||||||
from boto.https_connection import CertValidatingHTTPSConnection
|
from boto.https_connection import CertValidatingHTTPSConnection
|
||||||
from vcr.stubs.boto_stubs import VCRCertValidatingHTTPSConnection
|
from vcr.stubs.boto_stubs import VCRCertValidatingHTTPSConnection
|
||||||
# Prove that the class was patched by the stub and that we can instantiate it.
|
# Prove that the class was patched by the stub and that we can instantiate it.
|
||||||
assert CertValidatingHTTPSConnection is VCRCertValidatingHTTPSConnection
|
assert issubclass(CertValidatingHTTPSConnection, VCRCertValidatingHTTPSConnection)
|
||||||
CertValidatingHTTPSConnection('hostname.does.not.matter')
|
CertValidatingHTTPSConnection('hostname.does.not.matter')
|
||||||
|
|
||||||
def test_boto_without_vcr():
|
def test_boto_without_vcr():
|
||||||
|
|||||||
Reference in New Issue
Block a user