def METHOD_NAME(tmpdir, monkeypatch):
    monkeypatch.chdir(tmpdir)
    job_queue = create_local_queue(SIMPLE_SCRIPT)
    manager = JobQueueManager(job_queue)
    manager.execute_queue()
    for job in job_queue.job_list:
        assert (Path(job.run_path) / "OK").read_text(encoding="utf-8") == "success"