############################################################################# # Copyright (c) 2017 Rajesh Kudaka # # Author: Rajesh Kudaka 4k.rajesh@gmail.com # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################# # vnftest comment: this is a modified copy of # yardstick/common/html_template.py template = """

Vnftest User Interface

Report of {{task_id}} Generated

""" report_template = """ Vnftest Report

Vnftest Report


Task ID : {{task_id}}
Criteria : {{criteria}}

Information {% for key, value in info.items() %} {% endfor %}
# key value
{{ loop.index }} {{key}} {{value}}

Test Cases {% for testcase in testcases %} {% endfor %}
# key value
{{ loop.index }} {{testcase.name}} {{testcase.criteria}}
"""