Esempio n. 1
0
    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'))
Esempio n. 2
0
 def setup(self):
     """ startup method to create mloginfo tool. """
     self.tool = MLogInfoTool()
     self._test_init()