diff --git a/tests/test_all_rules.py b/tests/test_all_rules.py index 038b641f74c..aa90ea2f5d4 100644 --- a/tests/test_all_rules.py +++ b/tests/test_all_rules.py @@ -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'):