':py:obj:`verify_certificate` returns ``None`` when called with a self-signed
certificate and itself in the chain.'

def test_trusted_self_signed(self):

    store = X509Store()
    store.add_cert(self.root_cert)
    store_ctx = X509StoreContext(store, self.root_cert)
    self.assertEqual(store_ctx.verify_certificate(), None)
