From 39942dc9c5bc152a6ed20534755cc0dc38d85ede Mon Sep 17 00:00:00 2001 From: Leo Wang Date: Thu, 22 Sep 2016 21:56:54 -0400 Subject: Use template to unify commands in functest/yardstick JIRA: DOVETAIL-19 1. use jinja2 to unify commands in config files 2. it simplify the process of test execution, put the dissimilarity in config 3. add precondition/postcondition for functest/yardstick config Change-Id: Ib996b11ea065b61910b34b78191bb7b1ffd92e59 Signed-off-by: Leo Wang --- scripts/report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/report.py') diff --git a/scripts/report.py b/scripts/report.py index d92929f2..42ec0df0 100644 --- a/scripts/report.py +++ b/scripts/report.py @@ -13,11 +13,11 @@ import re import utils.dovetail_logger as dt_logger import utils.dovetail_utils as dt_utils -logger = dt_logger.Logger('report.py').getLogger() - from conf.dovetail_config import * from testcase import * +logger = dt_logger.Logger('report.py').getLogger() + def get_pass_str(passed): if passed: return 'PASS' -- cgit 1.2.3-korg