16 from contextlib
import contextmanager
46 return (context.namespace
for context
in self)
48 def start_suite(self, suite, namespace, output, dry_run=False):
65 _started_keywords_threshold = 42
67 def __init__(self, suite, namespace, output, dry_run=False):
101 self.
variablesvariablesvariables.set_keyword(
'${KEYWORD_STATUS}',
'FAIL' if error
else 'PASS')
111 user_keyword = property
114 self.
namespacenamespace.start_user_keyword()
118 self.
namespacenamespace.end_user_keyword()
129 in_teardown = property
143 for name
in [
'${PREV_TEST_NAME}',
144 '${PREV_TEST_STATUS}',
145 '${PREV_TEST_MESSAGE}']:
149 EXECUTION_CONTEXTS.end_suite()
175 if timeout
in self.
timeoutstimeouts:
176 self.
timeoutstimeouts.remove(timeout)
190 raise DataError(
'Maximum limit of started keywords exceeded.')
Used when variable does not exist.
def start_suite(self, suite, namespace, output, dry_run=False)
def start_test(self, test)
def _add_timeout(self, timeout)
def set_suite_variables(self, suite)
def keyword_teardown(self, error)
def end_keyword(self, keyword)
def get_runner(self, name)
def report_suite_status(self, status, message)
def timeout(self, timeout)
def test_teardown(self, test)
def _remove_timeout(self, timeout)
def end_suite(self, suite)
def start_keyword(self, keyword)
def __init__(self, suite, namespace, output, dry_run=False)
int _started_keywords_threshold