Skip to content

Commit

Permalink
Fix flake errors
Browse files Browse the repository at this point in the history
  • Loading branch information
shashank-elastic committed Feb 3, 2025
1 parent 7bfe607 commit 0038c65
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/test_all_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1340,10 +1340,11 @@ def test_note_has_osquery_warning(self):
'(https://www.elastic.co/guide/en/security/current/invest-guide-run-osquery.html) '
'introduced in Elastic Stack version 8.5.0. Older Elastic Stack versions will display '
'unrendered Markdown in this guide.')
invest_note_pattern = ('> This investigation guide uses the [Investigate Markdown Plugin]'
'(https://www.elastic.co/guide/en/security/current/interactive-investigation-guides.html)'
' introduced in Elastic Stack version 8.8.0. Older Elastic Stack versions will display '
'unrendered Markdown in this guide.')
invest_note_pattern = (
'> This investigation guide uses the [Investigate Markdown Plugin]'
'(https://www.elastic.co/guide/en/security/current/interactive-investigation-guides.html)'
' introduced in Elastic Stack version 8.8.0. Older Elastic Stack versions will display '
'unrendered Markdown in this guide.')

for rule in self.all_rules:
if not rule.contents.get('transform'):
Expand Down

0 comments on commit 0038c65

Please sign in to comment.