Adaptions caused by new logging concept

This commit is contained in:
Dirk Alders 2021-01-10 21:35:32 +01:00
parent 9bb490eb30
commit 54f0aa4838
2 changed files with 2 additions and 2 deletions

2
run.py
View File

@ -286,7 +286,7 @@ def unittest_run(unittest_folder, options):
for key in data_collection[UNITTEST_KEY_SPECIFICATION].get('item_dict', {}): for key in data_collection[UNITTEST_KEY_SPECIFICATION].get('item_dict', {}):
heading_dict[key] = data_collection[UNITTEST_KEY_SPECIFICATION]['item_dict'][key]['Heading'] heading_dict[key] = data_collection[UNITTEST_KEY_SPECIFICATION]['item_dict'][key]['Heading']
test_session = report.testSession( test_session = report.testSession(
['__unittest__', config.lib.logger.name] + config.additional_loggers_to_catch, ['__unittest__', 'root'],
interpreter=interpreter_version, interpreter=interpreter_version,
testcase_execution_level=execution_level, testcase_execution_level=execution_level,
testrun_id='p%d' % sys.version_info[0], testrun_id='p%d' % sys.version_info[0],

View File

@ -13,6 +13,6 @@ This test was passed with the state: {\bf {{ macros.result(testcase.levelno) }}}
\definecolor{shadecolor}{rgb}{ {{macros.bg_by_levelno(mLogger.levelno) }} }\begin{modulelog}[breaklines=true, breakanywhere=true] \definecolor{shadecolor}{rgb}{ {{macros.bg_by_levelno(mLogger.levelno) }} }\begin{modulelog}[breaklines=true, breakanywhere=true]
{{ mLogger.message }} {{ mLogger.message }}
\end{modulelog} \end{modulelog}
\vspace*{-0.225cm} \vspace*{-0.225cm}\pagebreak[1]
{%- endfor %} {%- endfor %}
{%- endfor %} {%- endfor %}