def setup(self): """ startup method to create mloginfo tool. """ self.tool = MLogInfoTool() # load logfile(s) self.logfile_path = os.path.join(os.path.dirname(mtools.__file__), 'test/logfiles/', 'mongod_225.log') self.logfile = LogFile(open(self.logfile_path, 'r'))
def setup(self): """ startup method to create mloginfo tool. """ self.tool = MLogInfoTool() self._test_init()