############################################################################# # 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 ############################################################################# template = """

Yardstick User Interface

Report of {{task_id}} Generated

""" report_template = """ Yardstick Report

Yardstick 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}}
"""