Example #1
0
def test():
    wdl_namespace = wdl.loads(wdl_code)
    wf = wdl_namespace.workflows[0]
    engine = Engine(wdl_run)
    engine.submit(Workflow(wf), {"inp": "README.md"}, "test")
    engine.run_all()
    assert engine.get("test").state == Job.FINISHED
    assert engine.jobs.vars["test.my_task.output"].endswith("output.txt")