def test_set_one_ca_list(self):
    '\n        If passed a list containing a single X509Name,\n        `Context.set_client_ca_list` configures the context to send\n        that CA name to the client and, on both the server and client sides,\n        `Connection.get_client_ca_list` returns a list containing that\n        X509Name after the connection is set up.\n        '
    cacert = load_certificate(FILETYPE_PEM, root_cert_pem)
    cadesc = cacert.get_subject()

    def single_ca(ctx):
        ctx.set_client_ca_list([cadesc])
        return [cadesc]
    self._check_client_ca_list(single_ca)
If passed a list containing a single X509Name,
`Context.set_client_ca_list` configures the context to send
that CA name to the client and, on both the server and client sides,
`Connection.get_client_ca_list` returns a list containing that
X509Name after the connection is set up.
def test_set_one_ca_list(self):
    '\n        If passed a list containing a single X509Name,\n        `Context.set_client_ca_list` configures the context to send\n        that CA name to the client and, on both the server and client sides,\n        `Connection.get_client_ca_list` returns a list containing that\n        X509Name after the connection is set up.\n        '
    cacert = load_certificate(FILETYPE_PEM, root_cert_pem)
    cadesc = cacert.get_subject()

    def single_ca(ctx):
        ctx.set_client_ca_list([cadesc])
        return [cadesc]
    self._check_client_ca_list(single_ca)