def test_set_multiple_ca_list(self):
    '\n        If passed a list containing multiple X509Name objects,\n        `Context.set_client_ca_list` configures the context to send\n        those CA names to the client and, on both the server and client sides,\n        `Connection.get_client_ca_list` returns a list containing those\n        X509Names after the connection is set up.\n        '
    secert = load_certificate(FILETYPE_PEM, server_cert_pem)
    clcert = load_certificate(FILETYPE_PEM, server_cert_pem)
    sedesc = secert.get_subject()
    cldesc = clcert.get_subject()

    def multiple_ca(ctx):
        L = [sedesc, cldesc]
        ctx.set_client_ca_list(L)
        return L
    self._check_client_ca_list(multiple_ca)
If passed a list containing multiple X509Name objects,
`Context.set_client_ca_list` configures the context to send
those CA names to the client and, on both the server and client sides,
`Connection.get_client_ca_list` returns a list containing those
X509Names after the connection is set up.
def test_set_multiple_ca_list(self):
    '\n        If passed a list containing multiple X509Name objects,\n        `Context.set_client_ca_list` configures the context to send\n        those CA names to the client and, on both the server and client sides,\n        `Connection.get_client_ca_list` returns a list containing those\n        X509Names after the connection is set up.\n        '
    secert = load_certificate(FILETYPE_PEM, server_cert_pem)
    clcert = load_certificate(FILETYPE_PEM, server_cert_pem)
    sedesc = secert.get_subject()
    cldesc = clcert.get_subject()

    def multiple_ca(ctx):
        L = [sedesc, cldesc]
        ctx.set_client_ca_list(L)
        return L
    self._check_client_ca_list(multiple_ca)