def METHOD_NAME(tmpdir):
    """
    Simple case where we just run a .robot directly without any filtering or
    suite.
    """
    from robotframework_debug_adapter.launch_process import compute_cmd_line_and_env
    import sys
    import os
    target = str(tmpdir.join("my.robot"))
    cwd = str(tmpdir)
    env = {}
    cmdline, env = compute_cmd_line_and_env(
        "run_py",
        target,
        make_suite=True,
        port=0,
        args=[],
        run_in_debug_mode=True,
        cwd=cwd,
        suite_target=None,
        env=env,
    )
    cmdline[2] = os.path.basename(cmdline[2])
    assert cmdline == [
        sys.executable,
        "-u",
        "run_py",
        "--port",
        "0",
        "--debug",
        target,
    ]
    assert env == {}