From 3834ec789b8fcade8a00d956a9df675a9cc1861f Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Mon, 18 May 2015 19:53:03 +0200 Subject: run_rally.py: added consistent path for functest.yaml JIRA:FUNCTEST-1 Change-Id: Id7b2f7f6846724105ea0521236d03e39a2c386ec Signed-off-by: jose.lausuch --- testcases/VIM/OpenStack/CI/libraries/run_rally.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testcases/VIM/OpenStack') diff --git a/testcases/VIM/OpenStack/CI/libraries/run_rally.py b/testcases/VIM/OpenStack/CI/libraries/run_rally.py index aae723510..9041e4d9e 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() -- cgit 1.2.3-korg