from ecflow import Defs,Suite,Family,Task,Trigger
defs = Defs(
Suite("dead_lock",
Family('family',
Task('t1',
Trigger("t2 == complete")),
Task('t2',
Trigger("t1 == complete")))))
theResult = defs.simulate(); # simulate the definition
assert len(theResult) != 0, "Expected simulation to return errors"
print theResult |