Commits

Cameron Simpson  committed 2aeefd6

cs.threads_tests: import cs.threads.RUN_TREE_OP_ONE_TO_MANY and use in signature.

  • Participants
  • Parent commits 0194534

Comments (0)

Files changed (1)

File lib/python/cs/threads_tests.py

   from Queue import Queue
 else:
   from queue import Queue
-from cs.threads import TimerQueue, runTree, RunTreeOp
+from cs.threads import TimerQueue, runTree, RunTreeOp, RUN_TREE_OP_ONE_TO_MANY
 from cs.later import Later
 from cs.logutils import D
 
 
   def test__01_same_fork(self):
     L = Later(1)
-    self.assertEquals(list(runTree( [1,2,3], [ RunTreeOp(self.f_same_one2many, 'FORK', True, None) ], None, L)), [1,2,3])
+    self.assertEquals(list(runTree( [1,2,3], [ RunTreeOp(self.f_same_one2many, True, True, RUN_TREE_OP_ONE_TO_MANY) ], None, L)), [1,2,3])
     L.close()
 
 def selftest(argv):