diff options
author | Tibor Frank <tifrank@cisco.com> | 2020-02-18 08:32:45 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2020-02-18 09:19:38 +0000 |
commit | 8ca63f49d365d589af2a6667cfdceda098b677cc (patch) | |
tree | cd3b6441d5574c77794f13eb596110bbfcde03eb /resources/tools/presentation/generator_files.py | |
parent | eb774c3e205a538262aef928bfbed17cd5be7b25 (diff) |
Report: Detailed test results
Change-Id: I9af4bc9de4f4606449fd257c4321d9cd980d5f01
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_files.py')
-rw-r--r-- | resources/tools/presentation/generator_files.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_files.py b/resources/tools/presentation/generator_files.py index d6c7546ae7..47683ea96b 100644 --- a/resources/tools/presentation/generator_files.py +++ b/resources/tools/presentation/generator_files.py @@ -88,7 +88,12 @@ def file_test_results(file_spec, input_data, frmt=u"rst"): """ base_file_name = f"{file_spec[u'output-file']}" - rst_header = file_spec.get(u"file-header", u"") + rst_header = ( + u"\n" + u".. |br| raw:: html\n\n <br />\n\n\n" + u".. |prein| raw:: html\n\n <pre>\n\n\n" + u".. |preout| raw:: html\n\n </pre>\n\n" + ) start_lvl = file_spec.get(u"data-start-level", 4) logging.info(f" Generating the file {base_file_name} ...") |