aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2022-08-09 09:36:50 +0200
committerTibor Frank <tifrank@cisco.com>2022-08-09 09:36:50 +0200
commitc98961835d8bab39bdb1cbd6aa15a28f8d4fa163 (patch)
treecdd7922953e4d2c11cee9a20064401180ad4e607
parenta1e249b31c36a19464009cde56849666eed16af8 (diff)
PAL: Update to RobotFramework 5.0
Change-Id: I03340f47b5f4d5aa2bb6d33589b0d13e4671a75d Signed-off-by: Tibor Frank <tifrank@cisco.com>
-rw-r--r--resources/tools/presentation/input_data_parser.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py
index 64aab493e4..94081425de 100644
--- a/resources/tools/presentation/input_data_parser.py
+++ b/resources/tools/presentation/input_data_parser.py
@@ -1043,7 +1043,7 @@ class ExecutionChecker(ResultVisitor):
u"level": len(suite.longname.split(u"."))
}
- suite.keywords.visit(self)
+ suite.body.visit(self)
def end_suite(self, suite):
"""Called when suite ends.
@@ -1061,7 +1061,7 @@ class ExecutionChecker(ResultVisitor):
:returns: Nothing.
"""
if self.start_test(test) is not False:
- test.keywords.visit(self)
+ test.body.visit(self)
self.end_test(test)
def start_test(self, test):
@@ -1285,7 +1285,7 @@ class ExecutionChecker(ResultVisitor):
:type test_kw: Keyword
:returns: Nothing.
"""
- for keyword in test_kw.keywords:
+ for keyword in test_kw.body:
if self.start_test_kw(keyword) is not False:
self.visit_test_kw(keyword)
self.end_test_kw(keyword)
@@ -1327,7 +1327,7 @@ class ExecutionChecker(ResultVisitor):
:type setup_kw: Keyword
:returns: Nothing.
"""
- for keyword in setup_kw.keywords:
+ for keyword in setup_kw.body:
if self.start_setup_kw(keyword) is not False:
self.visit_setup_kw(keyword)
self.end_setup_kw(keyword)
@@ -1368,7 +1368,7 @@ class ExecutionChecker(ResultVisitor):
:type teardown_kw: Keyword
:returns: Nothing.
"""
- for keyword in teardown_kw.keywords:
+ for keyword in teardown_kw.body:
if self.start_teardown_kw(keyword) is not False:
self.visit_teardown_kw(keyword)
self.end_teardown_kw(keyword)