def test_prov_01(): reg = serial.base() a = add(3, 4) enc = reg.deep_encode(a._workflow.root_node) dec = reg.deep_decode(enc) result = run_job(0, dec) assert result.value == 7
def get_result(): source = jobs.source() for key, job in source: tic() yield run_job(key, job)