summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhongbo tian <hongbo.tianhongbo@huawei.com>2016-12-02 17:42:10 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-02 17:42:10 +0000
commit0f6d7bd8d990c1e9300dd0003477a712b7cdb914 (patch)
tree0af91d75986587b88fae2f5aee5c7769998aa402
parentec6582986abd71654e6cc99f0d5d84add15d777a (diff)
parent0c71e50caae87b5288e06d3bff1ede2d6f510605 (diff)
Merge "dovetail tool: fix unittest bugs"
-rw-r--r--dovetail/tests/unit/test_parser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/dovetail/tests/unit/test_parser.py b/dovetail/tests/unit/test_parser.py
index 5b003d1a..b4331ea1 100644
--- a/dovetail/tests/unit/test_parser.py
+++ b/dovetail/tests/unit/test_parser.py
@@ -17,7 +17,7 @@ import unittest
import yaml
-import dovetail.parser as dovetail_parser
+import parser as dovetail_parser
class TestParser(unittest.TestCase):
@@ -27,6 +27,7 @@ class TestParser(unittest.TestCase):
def setUp(self):
"""Test case setup"""
logging.disable(logging.CRITICAL)
+ dovetail_parser.Parser.create_log()
def test_parser_cmd(self):
"""Test whether the command is correctly parsed."""