def setUp(self):
        test_helper.setUp()
        self.__config_server = Config(config_file=CONFIG_FILE)
        self.test_files = {}
        for file in [TEST_LOG_FILE0, TEST_LOG_FILE1, TEST_LOG_FILE2]:
            self.__open_test_file(file)

        for file in [TEST_DIR+'/'+TEST_DIR_FILE0]:
            self.__open_test_file(file)
 def setUp(self):
     test_helper.setUp()
     self.__config_server = Config(config_file=CONFIG_FILE)
     conf = self.__config_server.get("processor")["syslog0"]
     self.p = SyslogProcessor("syslog0", conf)
 def setUp(self):
     test_helper.setUp()
     self.__config_server = Config(CONFIG_FILE)
     self.pm = ProcessorManager()
Ejemplo n.º 4
0
 def setUp(self):
     test_helper.setUp()
     self.config_server = Config(config_file=CONFIG_FILE)
     self.config_client = ConfigClient()