aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/prepare_env.py
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-12-05 14:44:51 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-05 14:44:51 +0000
commit4d8205412586812dc9523988aad66cf9e000e31e (patch)
tree198f4976bb1f0263e41cb1a1cd9d4db4439914c3 /functest/ci/prepare_env.py
parent122445d0b7b3836a3617905ab1c293412983c394 (diff)
parentd13fac5935bb3fe573dc9a79e06b8cffde37712e (diff)
Merge "Fix Pep8 issues related to \"
Diffstat (limited to 'functest/ci/prepare_env.py')
-rwxr-xr-xfunctest/ci/prepare_env.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/functest/ci/prepare_env.py b/functest/ci/prepare_env.py
index 246a02a8..3a99d3ba 100755
--- a/functest/ci/prepare_env.py
+++ b/functest/ci/prepare_env.py
@@ -124,8 +124,7 @@ def source_rc_file():
logger.warning("The environment variable 'creds' must be set and"
"pointing to the local RC file. Using default: "
"/home/opnfv/functest/conf/openstack.creds ...")
- ft_constants.OPENSTACK_CREDS = \
- "/home/opnfv/functest/conf/openstack.creds"
+ os.path.join(ft_constants.FUNCTEST_CONF_DIR, 'openstack.creds')
if not os.path.isfile(ft_constants.OPENSTACK_CREDS):
logger.info("RC file not provided. "