예제 #1
0
def main(config):
    config = getConfig(config)
    alert = NewAlerts()
    alert.log = Log()
    alert.run(config)
예제 #2
0
 def test_run_alert(self):
     config = self.__getConfig("system-config-new.json")
     alert = NewAlerts()
     alert.log = Log()
     self.assertTrue(alert.run(config))
예제 #3
0
 def test_run_alert(self):
     config = self.__getConfig("system-config-new.json")
     alert = NewAlerts()
     alert.log = Log()
     self.assertTrue(alert.run(config))
예제 #4
0
def main(config):
    config = getConfig(config)
    alert = NewAlerts()
    alert.log = Log()
    alert.run(config)