diff options
-rw-r--r-- | docker/supervisord.conf | 2 | ||||
-rw-r--r-- | qtip/api/qtip_server.py | 4 | ||||
-rw-r--r-- | qtip/api/result_handler.py | 2 | ||||
-rw-r--r-- | qtip/utils/dashboard/pushtoDB.py | 2 | ||||
-rw-r--r-- | scripts/ref_results/suite_result.py | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/docker/supervisord.conf b/docker/supervisord.conf index 35d16c7e..a6d457dd 100644 --- a/docker/supervisord.conf +++ b/docker/supervisord.conf @@ -2,7 +2,7 @@ nodaemon=true [program:qtip_server] -command=bash -c "cd $REPOS_DIR/qtip&&python restful_server/qtip_server.py" +command=bash -c "cd $REPOS_DIR/qtip&&python qtip/api/qtip_server.py" numprocs=1 autostart=true autorestart=true 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 |