def METHOD_NAME(group_name):
    """
    Returns the list of testinfra host instances, based on Ansible group name
    """
    global HOSTS
    inventory_data = load_inventory()
    children = inventory_data['all']['children']
    if group_name not in children:
        HOSTS = []
        return HOSTS
    nodes = []
    for host, attrs in children[group_name]['hosts'].items():
        nodes.append(
            testinfra.get_host(
                'paramiko://%s@%s:22' % (EDB_SSH_USER, attrs['ansible_host']),
                ssh_identity_file=EDB_SSH_KEY,
                ssh_config=EDB_SSH_CONFIG,
            )
        )
    HOSTS = nodes
    return HOSTS