Example #1
0
 def __init__(self, path):
     dsunittest.trace("Logging messages to %s" % path)
     self.file_ = open(path, "a+")
Example #2
0
 def handleMessage(self, message):
     dsunittest.trace(message)
     self.file_.write(str(message) + "\n")
     self.file_.flush()
Example #3
0
 def taskFunction(output=output, id=id, g=g):
     i = g.next()
     dsunittest.trace("taskFunction %s" % i)
     output.append(i)
     return i