changes.mady.by.user Unknown User (ma0)
Saved on Nov 21, 2017
Saved on Dec 04, 2017
...
defs = Defs().add( Suite("s1").add( Task("t1"), Task("t2"), Task("t3").add( Trigger("t1 == complete"), Trigger("t2 == active"), Trigger("t2 == aborted",False), )))
defs = Defs().add( + Suite("s1")) defs.s1 += [ Task("t{}".format(i)) for i in range(1,4) ] defs.s1.t3 += [ Trigger("t1 == complete"), Trigger("t2 == active"), Trigger("t2 == aborted",False) ]