def METHOD_NAME(subprocess, capsys):
    subprocess.check_output.side_effect = create_check_output(
        {
            "heroku features:info preboot --json": json.dumps({"enabled": True}).encode("utf-8"),
        }
    )
    subprocess.call.side_effect = successful_check_call_with_print
    subprocess.check_call.side_effect = successful_check_call_with_print
    deploy.main(["heroku", "-r", "myapp"])
    snapshot = Snapshot(capsys.readouterr().out, SNAPSHOT_DIR / "heroku_with_preboot.txt")
    assert snapshot.expected == snapshot.actual