Browse Source

[master]Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10

Jeremy C. Reed 12 years ago
parent
commit
0a85e0e55c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/cmdctl/tests/cmdctl_test.py

+ 1 - 1
src/bin/cmdctl/tests/cmdctl_test.py

@@ -533,7 +533,7 @@ class TestSecureHTTPServer(unittest.TestCase):
         ssl_sock = self.server._wrap_socket_in_ssl_context(sock1,
         ssl_sock = self.server._wrap_socket_in_ssl_context(sock1,
                                    BUILD_FILE_PATH + 'cmdctl-keyfile.pem',
                                    BUILD_FILE_PATH + 'cmdctl-keyfile.pem',
                                    BUILD_FILE_PATH + 'cmdctl-certfile.pem')
                                    BUILD_FILE_PATH + 'cmdctl-certfile.pem')
-        self.assertIsInstance(ssl_sock, ssl.SSLSocket)
+        self.assertTrue(isinstance(ssl_sock, ssl.SSLSocket))
 
 
         # wrap_socket can also raise IOError, which should be caught and
         # wrap_socket can also raise IOError, which should be caught and
         # handled like the other errors.
         # handled like the other errors.