aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/config_functest.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-01-13 11:35:59 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2016-01-13 11:38:45 +0100
commit00b51ffe114702ce207aa7ba2e40f01984c0c57c (patch)
treea5b7f6a440259832b7fe0dc0f1a8a6b2693f682c /testcases/config_functest.py
parent870587bd57ed00fb1b172ee9848f7cdfb3d04270 (diff)
Place config_functest.yaml outside the functest repo
If config_functest.yaml is given it will be placed in: /home/opnfv/functest/conf/config_functest.yaml If not given: copy default from repo to that location Change-Id: I816bf5ccf8e0a5b8ebde2a0ab924657533f49127 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'testcases/config_functest.py')
-rwxr-xr-xtestcases/config_functest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/config_functest.py b/testcases/config_functest.py
index b4e29bf6..8ae0d163 100755
--- a/testcases/config_functest.py
+++ b/testcases/config_functest.py
@@ -43,7 +43,7 @@ if not os.path.exists(REPO_PATH):
exit(-1)
sys.path.append(REPO_PATH + "testcases/")
-with open(REPO_PATH+"testcases/config_functest.yaml") as f:
+with open("/home/opnfv/functest/conf/config_functest.yaml") as f:
functest_yaml = yaml.safe_load(f)
f.close()