'Verify that peerFromTransport raises an exception if the transport
passed is an SSL transport, but doesn\'t have a peer certificate.'

def test_peerFromBlankSSLTransport(self):

    x = self.assertRaises(CertificateError, sslverify.Certificate.peerFromTransport, _MaybeSSLTransport())
    self.assertTrue(str(x).startswith('TLS'))
