22 teardown = suite.keywords.teardown
24 if teardown
and teardown.status ==
'FAIL':
25 suite.suite_teardown_failed(teardown.message)
34 class SuiteTeardownFailed(SuiteVisitor):
38 _normal_msg =
'Parent suite teardown failed:\n'
42 _also_msg =
'\n\nAlso parent suite teardown failed:\n'
Interface to ease traversing through a test suite structure.
def visit_test(self, test)
Implements traversing through the test and its keywords.
def __init__(self, error)
def visit_keyword(self, keyword)
Implements traversing through the keyword and its child keywords.
def end_suite(self, suite)
Called when suite ends.
def visit_keyword(self, keyword)
Implements traversing through the keyword and its child keywords.
def visit_test(self, test)
Implements traversing through the test and its keywords.