Esempio n. 1
0
 def __init__(self):
     self.operating_system = validate.operating_system()
     self.rsys = loadyaml.load_rsyslog()
     self.portal = loadyaml.load_portal()
     self.host = self.portal["windows_syslog_host"]
     self.port = self.portal["windows_syslog_port"]
     self.facility = None
     self.priority = None
Esempio n. 2
0
 def __init__(self):
     self.operating_system = validate.operating_system()
     self.rsys = loadyaml.load_rsyslog()
     self.portal = loadyaml.load_portal()
     self.host = self.portal["windows_syslog_host"]
     self.port = self.portal["windows_syslog_port"]
     self.facility = None
     self.priority = None
Esempio n. 3
0
 def test_load_rsyslog(self):
     assert loadyaml.load_rsyslog() is not None