From: Shawn Krisman Date: Thu, 30 Oct 2014 23:08:17 +0000 (-0700) Subject: test_boto_stubs passes again. X-Git-Tag: v1.1.3~9^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b047336690851cab472e3aa008eff96e51075838;p=vcrpy.git test_boto_stubs passes again. --- diff --git a/tests/integration/test_boto.py b/tests/integration/test_boto.py index ed4a007..e4261a8 100644 --- a/tests/integration/test_boto.py +++ b/tests/integration/test_boto.py @@ -14,7 +14,7 @@ def test_boto_stubs(tmpdir): from boto.https_connection import CertValidatingHTTPSConnection from vcr.stubs.boto_stubs import VCRCertValidatingHTTPSConnection # 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') def test_boto_without_vcr():