def METHOD_NAME(gitlab_cli, project, format, loader):
    cmd = ["-o", format, "project", "get", "--id", project.id]
    ret = gitlab_cli(cmd)
    assert ret.success
    content = loader(ret.stdout.strip())
    assert content["id"] == project.id