def test_loadMonitorYAML(self): data = utils.loadMonitorYAML() expected = ['services'] self.assertEqual(sorted(data.keys()), expected)
def setUp(self): self.rawMainConfig = utils.loadGeneralYAML() self.rawMonitorsConfig = utils.loadMonitorYAML() self.config = config.ConfigAPI(self.rawMainConfig, self.rawMonitorsConfig)
def setUp(self): self.rawMonitorsConfig = utils.loadMonitorYAML()
def setUp(self): self.rawMainConfig = utils.loadGeneralYAML() self.rawMonitorsConfig = utils.loadMonitorYAML() self.config = config.ConfigAPI( self.rawMainConfig, self.rawMonitorsConfig)