Пример #1
0
 def test_loadMonitorYAML(self):
     data = utils.loadMonitorYAML()
     expected = ['services']
     self.assertEqual(sorted(data.keys()), expected)
Пример #2
0
 def setUp(self):
     self.rawMainConfig = utils.loadGeneralYAML()
     self.rawMonitorsConfig = utils.loadMonitorYAML()
     self.config = config.ConfigAPI(self.rawMainConfig,
                                    self.rawMonitorsConfig)
Пример #3
0
 def setUp(self):
     self.rawMonitorsConfig = utils.loadMonitorYAML()
Пример #4
0
 def setUp(self):
     self.rawMainConfig = utils.loadGeneralYAML()
     self.rawMonitorsConfig = utils.loadMonitorYAML()
     self.config = config.ConfigAPI(
         self.rawMainConfig, self.rawMonitorsConfig)
Пример #5
0
 def setUp(self):
     self.rawMonitorsConfig = utils.loadMonitorYAML()
Пример #6
0
 def test_loadMonitorYAML(self):
     data = utils.loadMonitorYAML()
     expected = ['services']
     self.assertEqual(sorted(data.keys()), expected)