aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/features/doctor.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-04-22 09:44:01 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-04-22 10:07:01 +0200
commite452376fbc44df9cf0688571e1882498f456f3a4 (patch)
tree306e1a34a898368ca412b5d081b72beccbd2454f /testcases/features/doctor.py
parent430753939dd6788b8c3567eb149daef0aeb61b2e (diff)
Enable PYTHONPATH env variable inside the container
JIRA: FUNCTEST-224 Change-Id: Ib10dc312a761b06fe36174c5c19a0165f746593e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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()