':py:obj:`Context.use_certificate` raises :py:obj:`OpenSSL.SSL.Error`
when passed a :py:obj:`OpenSSL.crypto.X509` instance which has not been
initialized (ie, which does not actually have any certificate data).'

def test_use_certificate_uninitialized(self):

    ctx = Context(TLSv1_METHOD)
    self.assertRaises(Error, ctx.use_certificate, X509())
