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