Skip to content

Commit

Permalink
Moved one more test to the fast suite
Browse files Browse the repository at this point in the history
  • Loading branch information
c8y3 committed Nov 8, 2024
1 parent 86e725d commit b2e6e9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 0 additions & 5 deletions validation/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
5 changes: 5 additions & 0 deletions validation/tests_fast.py
Original file line number Diff line number Diff line change
Expand Up @@ -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': [],
Expand Down

0 comments on commit b2e6e9a

Please sign in to comment.