summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-11-16 21:54:28 +0800
committerzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-11-16 22:22:18 +0800
commit0b95c723514a0f37b38460cf011061c9e19ebe44 (patch)
tree2c1583b1e1e202c5fe99b2c75bcb080c1a970128
parent2b3df7dce52e965ba5992334ce7d3d1c229a9ce9 (diff)
Bugfix:Correct the import path in qtip_server.
JIRA:QTIP-158 Change-Id: I962b01496346dc2257b069b4feffaef6dd094322 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
-rw-r--r--qtip/api/qtip_server.py4
-rw-r--r--qtip/api/result_handler.py2
-rw-r--r--qtip/utils/dashboard/pushtoDB.py2
-rw-r--r--scripts/ref_results/suite_result.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/qtip/api/qtip_server.py b/qtip/api/qtip_server.py
index 537b2c05..9b9dd633 100644
--- a/qtip/api/qtip_server.py
+++ b/qtip/api/qtip_server.py
@@ -12,8 +12,8 @@ from flask_restful_swagger import swagger
import threading
from copy import copy
import db
-import utils.args_handler as args_handler
-import restful_server.result_handler as result_handler
+import qtip.utils.args_handler as args_handler
+import qtip.api.result_handler as result_handler
app = Flask(__name__)
diff --git a/qtip/api/result_handler.py b/qtip/api/result_handler.py
index 200330cb..de91cd2c 100644
--- a/qtip/api/result_handler.py
+++ b/qtip/api/result_handler.py
@@ -8,7 +8,7 @@
##############################################################################
import json
import scripts.ref_results.suite_result as suite_result
-import dashboard.pushtoDB as push_to_db
+import qtip.utils.dashboard.pushtoDB as push_to_db
def dump_suite_result(suite_name):
diff --git a/qtip/utils/dashboard/pushtoDB.py b/qtip/utils/dashboard/pushtoDB.py
index e6a4d239..b901f542 100644
--- a/qtip/utils/dashboard/pushtoDB.py
+++ b/qtip/utils/dashboard/pushtoDB.py
@@ -3,7 +3,7 @@ import json
import datetime
import os
import sys
-from utils import logger_utils
+from qtip.utils import logger_utils
logger = logger_utils.QtipLogger('push_db').get
diff --git a/scripts/ref_results/suite_result.py b/scripts/ref_results/suite_result.py
index 217181f9..66213391 100644
--- a/scripts/ref_results/suite_result.py
+++ b/scripts/ref_results/suite_result.py
@@ -9,7 +9,7 @@
import json
import importlib
import sys
-from utils import logger_utils
+from qtip.utils import logger_utils
from os.path import expanduser
logger = logger_utils.QtipLogger('suite_result').get