summaryrefslogtreecommitdiffstats
path: root/ci/prepare_env.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-05-05 12:18:33 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-05-05 12:36:13 +0200
commit577356cf5d86c9476de496a5dda98ef2b4e5e2c5 (patch)
treeedf1a2fcd018b630fef234118070c5b7ba375642 /ci/prepare_env.py
parentcd42c5ba41d08ed6d378aa78ccdabbb51569f739 (diff)
Fix bug config_functest.yaml location
Change-Id: I3b28eb7015f6f1418ef04ca91103e313f71f74e3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'ci/prepare_env.py')
-rw-r--r--ci/prepare_env.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/prepare_env.py b/ci/prepare_env.py
index 520db44ec..bd6c98647 100644
--- a/ci/prepare_env.py
+++ b/ci/prepare_env.py
@@ -47,7 +47,7 @@ CI_DEBUG = False
REPOS_DIR = os.getenv('repos_dir')
FUNCTEST_REPO = REPOS_DIR + '/functest/'
-with open("/home/opnfv/repos/functest/testcases/config_functest.yaml") as f:
+with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
functest_yaml = yaml.safe_load(f)
FUNCTEST_CONF_DIR = functest_yaml.get("general").get(