From 522d432d8acdddaa026581b194a960483f3fe15a Mon Sep 17 00:00:00 2001 From: Riya Date: Thu, 27 Jun 2024 14:24:03 +0530 Subject: [PATCH] Update tests/test_cluster_read.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jan Hutaƙ --- tests/test_cluster_read.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)