aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/VIM/OpenStack
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-05-18 19:53:03 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2015-05-18 19:53:03 +0200
commit3834ec789b8fcade8a00d956a9df675a9cc1861f (patch)
treeaa96f39142f2a66e892516e7c698ac8edafa627f /testcases/VIM/OpenStack
parenta24eb30d5b540c785dff7a50778a837616fe3e6b (diff)
run_rally.py: added consistent path for functest.yaml
JIRA:FUNCTEST-1 Change-Id: Id7b2f7f6846724105ea0521236d03e39a2c386ec Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'testcases/VIM/OpenStack')
-rw-r--r--testcases/VIM/OpenStack/CI/libraries/run_rally.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/run_rally.py b/testcases/VIM/OpenStack/CI/libraries/run_rally.py
index aae72351..9041e4d9 100644
--- a/testcases/VIM/OpenStack/CI/libraries/run_rally.py
+++ b/testcases/VIM/OpenStack/CI/libraries/run_rally.py
@@ -10,7 +10,8 @@
#
import re, json, os, urllib2, argparse, logging, yaml
-with open('../functest.yaml') as f:
+HOME = os.environ['HOME']+"/"
+with open(HOME+'.functest/functest.yaml') as f:
functest_yaml = yaml.safe_load(f)
f.close()