From e452376fbc44df9cf0688571e1882498f456f3a4 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Fri, 22 Apr 2016 09:44:01 +0200 Subject: Enable PYTHONPATH env variable inside the container JIRA: FUNCTEST-224 Change-Id: Ib10dc312a761b06fe36174c5c19a0165f746593e Signed-off-by: jose.lausuch --- testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py') diff --git a/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py b/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py index 3ac3d449..6e625ce5 100755 --- a/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py +++ b/testcases/VIM/OpenStack/CI/libraries/run_rally-cert.py @@ -21,7 +21,6 @@ import os import re import requests import subprocess -import sys import time import yaml @@ -31,6 +30,9 @@ from keystoneclient.v2_0 import client as keystoneclient from neutronclient.v2_0 import client as neutronclient from cinderclient import client as cinderclient +import functest_utils +import openstack_utils + """ tests configuration """ tests = ['authenticate', 'glance', 'cinder', 'heat', 'keystone', 'neutron', 'nova', 'quotas', 'requests', 'vm', 'all'] @@ -87,9 +89,7 @@ REPO_PATH = os.environ['repos_dir'] + '/functest/' if not os.path.exists(REPO_PATH): logger.error("Functest repository directory not found '%s'" % REPO_PATH) exit(-1) -sys.path.append(REPO_PATH + "testcases/") -import functest_utils -import openstack_utils + with open("/home/opnfv/functest/conf/config_functest.yaml") as f: functest_yaml = yaml.safe_load(f) -- cgit 1.2.3-korg