aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/loader/metric.py
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-01-19 16:58:46 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-01-29 20:34:56 +0800
commitf2d021c72b38845954755bab54aa13b4b2aad725 (patch)
tree384b0aa7772facb1e8f836a4741f8151ef119901 /qtip/loader/metric.py
parenta42b9a6ac576b11403955ff38df6cc58cf02abb7 (diff)
Refactor loader classes
- rename BaseLoader to YamlFileLoader as base class of QTIP specs loader - create an abstract BaseLoader - create FileLoader for logfile collector Change-Id: I0c992cd847fc0dce4fdd73a13c1cdbc406c84532 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'qtip/loader/metric.py')
-rw-r--r--qtip/loader/metric.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtip/loader/metric.py b/qtip/loader/metric.py
index 8b6fa5d3..842fcdbf 100644
--- a/qtip/loader/metric.py
+++ b/qtip/loader/metric.py
@@ -7,10 +7,10 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-from base import BaseLoader
+from yaml_file import YamlFileLoader
-class MetricSpec(BaseLoader):
+class MetricSpec(YamlFileLoader):
"""metrics in QTIP are categorized by performance test tools, such as
dhrystone, whetstone and etc"""
RELATIVE_PATH = 'metric'