def trivialParent(job): strandedJob = JobFunctionWrappingJob(child) failingJob = JobFunctionWrappingJob(errorChild) job.addChild(failingJob) job.addChild(strandedJob) failingJob.addChild(strandedJob)
def diamond(job): childJob = JobFunctionWrappingJob(child) strandedJob = JobFunctionWrappingJob(child) failingJob = JobFunctionWrappingJob(errorChild) job.addChild(childJob) job.addChild(failingJob) childJob.addChild(strandedJob) failingJob.addChild(strandedJob)