Enhance Readability of validation check failures (#4299)

This commit is contained in:
shashank-elastic
2024-12-13 19:03:47 +05:30
committed by GitHub
parent 28ffebbf5c
commit 2ff2965cb9
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class TestEQLInSet(BaseRuleTest):
""",
},
}
expected_error_message = r"Error in both stack and integrations checks:.*Unable to compare ip to string.*"
expected_error_message = r"Error in both stack and integrations checks"
with self.assertRaisesRegex(ValueError, expected_error_message):
rc.load_dict(eql_rule)
# Change to appropriate destination.address field