def METHOD_NAME(self):
    """
    Invoke connect() with unicode hosts.
    """
    #  Convert to and from json, to force unicode
    #  This works in py 2.7 and 3.5
    uni = json.dumps(self.connection_config["hosts"][0])
    hostlist = json.loads(uni)
    config = {"hosts": [tuple(hostlist)]}
    with open_as_connection(config) as client:
        assert client is not None
        assert client.is_connected()