def _check_client_ca_list(self, func):
    '\n        Verify the return value of the `get_client_ca_list` method for\n        server and client connections.\n\n        :param func: A function which will be called with the server context\n            before the client and server are connected to each other.  This\n            function should specify a list of CAs for the server to send to the\n            client and return that same list.  The list will be used to verify\n            that `get_client_ca_list` returns the proper value at\n            various times.\n        '
    server = self._server(None)
    client = self._client(None)
    assert (client.get_client_ca_list() == [])
    assert (server.get_client_ca_list() == [])
    ctx = server.get_context()
    expected = func(ctx)
    assert (client.get_client_ca_list() == [])
    assert (server.get_client_ca_list() == expected)
    interact_in_memory(client, server)
    assert (client.get_client_ca_list() == expected)
    assert (server.get_client_ca_list() == expected)
Verify the return value of the `get_client_ca_list` method for
server and client connections.

:param func: A function which will be called with the server context
    before the client and server are connected to each other.  This
    function should specify a list of CAs for the server to send to the
    client and return that same list.  The list will be used to verify
    that `get_client_ca_list` returns the proper value at
    various times.
def _check_client_ca_list(self, func):
    '\n        Verify the return value of the `get_client_ca_list` method for\n        server and client connections.\n\n        :param func: A function which will be called with the server context\n            before the client and server are connected to each other.  This\n            function should specify a list of CAs for the server to send to the\n            client and return that same list.  The list will be used to verify\n            that `get_client_ca_list` returns the proper value at\n            various times.\n        '
    server = self._server(None)
    client = self._client(None)
    assert (client.get_client_ca_list() == [])
    assert (server.get_client_ca_list() == [])
    ctx = server.get_context()
    expected = func(ctx)
    assert (client.get_client_ca_list() == [])
    assert (server.get_client_ca_list() == expected)
    interact_in_memory(client, server)
    assert (client.get_client_ca_list() == expected)
    assert (server.get_client_ca_list() == expected)