Browse Source

Adaptions caused by new logging concept

master
Dirk Alders 4 years ago
parent
commit
54f0aa4838
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      run.py
  2. 1
    1
      templates/test/case_long.tex

+ 1
- 1
run.py View File

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

+ 1
- 1
templates/test/case_long.tex View File

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

Loading…
Cancel
Save