def METHOD_NAME(cli, tmpdir):
    project = str(tmpdir)
    project_path = os.path.join(project, "project.conf")
    with open(project_path, "w", encoding="utf-8") as f:
        f.write("name: pony\n")
    result = cli.run(args=["init", "--project-name", "foo", "--force", project])
    result.assert_success()
    project_conf = _yaml.load(project_path, shortname=None)
    assert project_conf.get_str("name") == "foo"
    assert project_conf.get_str("min-version") == get_default_min_version()