def METHOD_NAME():
    with open("workflow", "w", encoding="utf-8") as f:
        f.write("JOB <A> <B>\n")
    substlist = SubstitutionList()
    substlist["<A>"] = "a"
    substlist["<B>"] = "b"
    job = WorkflowJob(
        name="JOB",
        internal=False,
        min_args=None,
        max_args=None,
        arg_types=[],
        executable="echo",
        script=None,
    )
    wf = Workflow.from_file(
        "workflow",
        substlist,
        {"JOB": job},
    )
    assert wf.cmd_list == [(job, ["a", "b"])]