示例#1
0
 def test_datasource_update_method_pull_with_no_changes_interval(self):
     pull_drivers = tuple(Launcher._get_pull_datasources(self.conf))
     self.assertNotIn(ZABBIX_DATASOURCE_PULL_NO_INTERVAL, pull_drivers)
 def test_datasource_update_method_pull_with_no_changes_interval(self):
     pull_drivers = tuple(Launcher._get_pull_datasources(self.conf))
     self.assertNotIn(ZABBIX_DATASOURCE_PULL_NO_INTERVAL, pull_drivers)
示例#3
0
 def test_datasource_update_method_pull(self):
     pull_drivers = tuple(Launcher._get_pull_datasources(self.conf))
     self.assertSequenceEqual(pull_drivers,
                              (NAGIOS_DATASOURCE, ZABBIX_DATASOURCE_PULL))
 def test_datasource_update_method_pull(self):
     pull_drivers = tuple(Launcher._get_pull_datasources(self.conf))
     self.assertSequenceEqual(pull_drivers,
                              (NAGIOS_DATASOURCE,
                               ZABBIX_DATASOURCE_PULL))