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
def test_load_rsyslog(self): assert loadyaml.load_rsyslog() is not None