def METHOD_NAME(testing_workdir, testing_metadata, capfd, caplog):
    api.output_yaml(testing_metadata, "meta.yaml")
    args = ["--output", testing_workdir]
    main_render.execute(args)
    test_path = os.path.join(
        sys.prefix,
        "conda-bld",
        testing_metadata.config.host_subdir,
        "test_render_output_build_path-1.0-1.tar.bz2",
    )
    output, error = capfd.readouterr()
    assert output.rstrip() == test_path, error
    assert error == ""