def METHOD_NAME(tmpdir_factory):
    project_dir = Path(__file__).parent / "fixtures/file-input-project"
    out_dir = pathlib.Path(tmpdir_factory.mktemp("project"))
    shutil.copytree(project_dir, out_dir, dirs_exist_ok=True)
    with open(out_dir / "input.txt", "w") as fh:
        fh.write("what up")
    result = subprocess.run(
        ["cog", "predict", "-i", "path=@" + str(out_dir / "input.txt")],
        cwd=out_dir,
        check=True,
        capture_output=True,
    )
    assert result.stdout == b"what up\n"