From 04a2073a40aba68cbdda9c168fef18b8346e5122 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Wed, 10 Aug 2022 10:44:42 +0200 Subject: [PATCH] PAL: visit_setup_kw Change-Id: I8367c07f590c2e4533173284f009da6d26692e5d Signed-off-by: Tibor Frank --- resources/tools/presentation/input_data_parser.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index ecc403027d..2f8f167701 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -263,7 +263,6 @@ class ExecutionChecker(ResultVisitor): ) REGEX_VERSION_VPP = re.compile( - r"(return STDOUT Version:\s*|" r"VPP Version:\s*|VPP version:\s*)(.*)" ) REGEX_VERSION_DPDK = re.compile( @@ -592,9 +591,8 @@ class ExecutionChecker(ResultVisitor): :returns: Nothing. """ - if msg.message.count(u"return STDOUT Version:") or \ - msg.message.count(u"VPP Version:") or \ - msg.message.count(u"VPP version:"): + if msg.message.count(u"VPP version:") or \ + msg.message.count(u"VPP Version:"): self._version = str( re.search(self.REGEX_VERSION_VPP, msg.message).group(2) ) @@ -1323,7 +1321,7 @@ class ExecutionChecker(ResultVisitor): :type setup_kw: Keyword :returns: Nothing. """ - for keyword in setup_kw.body: + for keyword in setup_kw.setup: if self.start_setup_kw(keyword) is not False: self.visit_setup_kw(keyword) self.end_setup_kw(keyword) -- 2.16.6