summaryrefslogtreecommitdiffstats
path: root/dovetail/tests/unit
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2016-12-09 03:31:28 -0500
committerMatthewLi <matthew.lijun@huawei.com>2016-12-09 03:47:45 -0500
commita875b9d4ff6b5c8492f38ea87f8e11c02ebe66b9 (patch)
treec17a9e68fd7b1e062a5cc2d21f5153dd3e3ac582 /dovetail/tests/unit
parenta372d5dff98c600f0318ac8e60e7db37cd47aaa8 (diff)
[dovetail tool]: move config info from .py to config .yml file
JIRA: DOVETAIL-145 Change-Id: Ia9b3c678f1a491e5daf2d280f05904ead3b0a296 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'dovetail/tests/unit')
-rw-r--r--dovetail/tests/unit/test_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dovetail/tests/unit/test_parser.py b/dovetail/tests/unit/test_parser.py
index 2183bd60..8d32995c 100644
--- a/dovetail/tests/unit/test_parser.py
+++ b/dovetail/tests/unit/test_parser.py
@@ -25,8 +25,8 @@ class TestParser(unittest.TestCase):
def setUp(self):
"""Test case setup"""
- from conf.dovetail_config import DovetailConfig as dt_config
- dt_config.load_config_files()
+ from conf.dovetail_config import DovetailConfig as dt_cfg
+ dt_cfg.load_config_files()
dovetail_parser.Parser.create_log()
logging.disable(logging.CRITICAL)