def __init__(self,methodName='runTest'):
        unittest.TestCase.__init__(self,methodName)
        self.host = "localhost:%d" % self.SERVER_PORT
        self.connected = False
        self.handle = -1
        logdir = os.environ.get("ZKPY_LOG_DIR")
        logfile = os.path.join(logdir, self.__class__.__name__ + ".log")
        try:
            f = open(logfile,"w")
            zookeeper.set_log_stream(f)
        except __HOLE__:
            print("Couldn't open " + logfile + " for writing")
dataset/ETHPy150Open francelabs/datafari/debian7/zookeeper/contrib/zkpython/src/test/zktestbase.py/TestBase.__init__