diff --git a/validation/test.py b/validation/test.py index f32ac4d..922d069 100644 --- a/validation/test.py +++ b/validation/test.py @@ -47,11 +47,6 @@ def test_default_time_range_in_configuration_should_propagate_into_notification_ notification = self._graylog.get_notification(rule['notification']) self.assertEqual(1441, notification['config']['aggregation_time']) - def test_create_list_should_create_data_adapter(self): - self._graylog.create_list('test', ['a']) - response = self._graylog.query_data_adapter('alert-wizard-list-data-adapter-test', 'a') - self.assertEqual(200, response.status_code) - def test_create_list_should_create_lookup_table_with_the_list_values(self): self._graylog.create_list('test', ['a']) response = self._graylog.query_lookup_table('alert-wizard-list-lookup-table-test', 'a') diff --git a/validation/tests_fast.py b/validation/tests_fast.py index 8d092b1..0f48426 100644 --- a/validation/tests_fast.py +++ b/validation/tests_fast.py @@ -57,6 +57,11 @@ def test_get_alert_rule_should_return_correct_additional_threshold__issue69(self retrieved_alert_rule = self._graylog.get_alert_rule(title) self.assertEqual(1, retrieved_alert_rule['condition_parameters']['additional_threshold']) + def test_create_list_should_create_data_adapter(self): + self._graylog.create_list('test', ['a']) + response = self._graylog.query_data_adapter('alert-wizard-list-data-adapter-test', 'a') + self.assertEqual(200, response.status_code) + def test_alert_rule_with_no_conditions_should_trigger__issue139(self): stream = { 'field_rule': [],