]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
test_boto_stubs passes again.
authorShawn Krisman <skrisman@yelp.com>
Thu, 30 Oct 2014 23:08:17 +0000 (16:08 -0700)
committerShawn Krisman <skrisman@yelp.com>
Thu, 30 Oct 2014 23:08:17 +0000 (16:08 -0700)
tests/integration/test_boto.py

index ed4a00746f3f1b17047da7d7cfce8c0dcd247a52..e4261a835427c8ffc7b0c6cf88b05e21b85c7226 100644 (file)
@@ -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():