def METHOD_NAME(*, group):
    for candidate_group, name, func_name in mock_entry_points:
        if candidate_group == group:
            point = metadata.EntryPoint(name=name, group=group, value=func_name)
            vars(point).update(dist=metadata.distribution("asdf"))
            yield point