fix: change error message

This commit is contained in:
phantinuss 2021-10-14 08:53:50 +02:00
parent 81b4a0eb98
commit 55f942b526
No known key found for this signature in database
GPG Key ID: 10E5D3C9141CC9FF

View File

@ -170,7 +170,7 @@ class TestRules(unittest.TestCase):
key_iterator(detection, faulty_fieldnames)
self.assertEqual(faulty_fieldnames, [], Fore.RED +
"There are rules with an unsupported field name. Spaces are not allowed. (Replace space with an underscore character if the log source uses space)")
"There are rules with an unsupported field name. Spaces are not allowed. (Replace space with an underscore character '_' )")
def test_single_named_condition_with_x_of_them(self):
faulty_detections = []