############################################################################# # 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 : {{result.task_id}}
Criteria : {{result.criteria}}

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

Test Cases {% for key, value in result.testcases.items() %} {% endfor %}
# key value
{{ loop.index }} {{key}} {{value.criteria}}
"""