diff --git a/tests/test_cluster_read.py b/tests/test_cluster_read.py index e15beaa..5bf3c18 100755 --- a/tests/test_cluster_read.py +++ b/tests/test_cluster_read.py @@ -33,8 +33,8 @@ def test_count(self): string = """ - name: print.output log_source_command: echo -e "error line_1log_line4" - log_regexp_error: '"level":"error"' - log_regexp_warning: '"level":"warning"' + log_regexp_error: '^error ' + log_regexp_warning: '^warning ' """ ri = opl.cluster_read.RequestedInfo(string) k, v = next(ri)