Fix Pep8 issues related to \
[functest.git] / functest / ci / prepare_env.py
index 246a02a..3a99d3b 100755 (executable)
@@ -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. "