Generate report from a file instead of string 99/60699/12
authorPatrice Buriez <patrice.buriez@intel.com>
Fri, 9 Nov 2018 09:33:50 +0000 (10:33 +0100)
committerPatrice Buriez <patrice.buriez@intel.com>
Thu, 22 Nov 2018 19:13:31 +0000 (20:13 +0100)
commitf36ccab454aa8ba156c234706d2667d5cae4ef94
treef8244c44d5e7cdf4b17edcac4d972e52a27a0ae4
parent5d66ab59d2c6ab5784c965392fa7a9e137efc9d2
Generate report from a file instead of string

``$ yardstick report generate ...`` now renders a template stored
in a file instead of from an imported string

Instead of using Django, templating is done by jinja2, as this is
used in other parts of Yardstick.

JIRA: YARDSTICK-1367
Topic: report/html_table (2 of 11)

Change-Id: Iaff53e7e28903e46164ce0977f6b8adbe04d23d7
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
Signed-off-by: Patrice Buriez <patrice.buriez@intel.com>
yardstick/benchmark/core/report.py
yardstick/common/html_template.py
yardstick/common/report.html.j2 [new file with mode: 0644]