'Verify that hostFromTransport raises an exception if the transport
passed is not actually an SSL transport.'

def test_hostFromNonSSLTransport(self):

    x = self.assertRaises(CertificateError, sslverify.Certificate.hostFromTransport, _NotSSLTransport())
    self.assertTrue(str(x).startswith('non-TLS'))
