Skip to content

Commit

Permalink
Removed spurious test
Browse files Browse the repository at this point in the history
  • Loading branch information
c8y3 committed Jun 12, 2024
1 parent c985ca4 commit c6cdda0
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions validation/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,18 +355,3 @@ def test_create_alert_rule_with_list_should_not_generate_event_on_substrings_of_
for i in range(events['total_events']):
print(events['events'][i])
self.assertEqual(0, self._graylog.get_events_count('aggregation-v1'))

def test_create_alert_rule_without_field_rule_type__issue120(self):
print(f'Initially: {self._graylog.get_events_count()}')

list_title = 'list'
self._graylog.create_list(list_title, ['administrator', 'toto', 'root', 'foobar'])
stream = {
'field_rule': [{
'field': 'x',
'type': 7,
'value': list_title
}],
'matching_type': 'AND'
}
self._graylog.create_alert_rule_count(list_title, _PERIOD, stream=stream)

0 comments on commit c6cdda0

Please sign in to comment.