'If passed a list containing multiple X509Name objects,
:py:obj:`Context.set_client_ca_list` configures the context to send those CA
names to the client and, on both the server and client sides,
:py:obj:`Connection.get_client_ca_list` returns a list containing those
X509Names after the connection is set up.'

def test_set_multiple_ca_list(self):

    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)
