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(self): pull_drivers = tuple(Launcher._get_pull_datasources(self.conf)) self.assertSequenceEqual(pull_drivers, (NAGIOS_DATASOURCE, ZABBIX_DATASOURCE_PULL))