aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/features/doctor.py
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/features/doctor.py')
-rw-r--r--testcases/features/doctor.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/testcases/features/doctor.py b/testcases/features/doctor.py
index 0c1f713e7..9ca6bf618 100644
--- a/testcases/features/doctor.py
+++ b/testcases/features/doctor.py
@@ -15,10 +15,10 @@
#
import logging
-import sys
import time
import yaml
+import functest_utils
with open('/home/opnfv/functest/conf/config_functest.yaml') as f:
functest_yaml = yaml.safe_load(f)
@@ -28,9 +28,6 @@ FUNCTEST_REPO = dirs.get('dir_repo_functest')
DOCTOR_REPO = dirs.get('dir_repo_doctor')
TEST_DB_URL = functest_yaml.get('results').get('test_db_url')
-sys.path.append('%s/testcases' % FUNCTEST_REPO)
-import functest_utils
-
logger = logging.getLogger('doctor')
logger.setLevel(logging.DEBUG)
ch = logging.StreamHandler()