def METHOD_NAME():
    project = stub(name="foobar", normalized_name="foobar")
    request = stub(
        POST={"confirm_project_name": "foobar"},
        route_path=call_recorder(lambda *a, **kw: stub()),
        session=stub(flash=call_recorder(lambda *a, **kw: stub())),
    )
    confirm_project(project, request, fail_route="fail_route")
    assert request.route_path.calls == []
    assert request.session.flash.calls == []