aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers
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 /testcases/Controllers
parentcd42c5ba41d08ed6d378aa78ccdabbb51569f739 (diff)
Fix bug config_functest.yaml location
Change-Id: I3b28eb7015f6f1418ef04ca91103e313f71f74e3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'testcases/Controllers')
-rw-r--r--testcases/Controllers/ONOS/Teston/CI/adapters/foundation.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testcases/Controllers/ONOS/Teston/CI/adapters/foundation.py b/testcases/Controllers/ONOS/Teston/CI/adapters/foundation.py
index d4a145566..47605eb74 100644
--- a/testcases/Controllers/ONOS/Teston/CI/adapters/foundation.py
+++ b/testcases/Controllers/ONOS/Teston/CI/adapters/foundation.py
@@ -54,9 +54,8 @@ class foundation:
"""
Get Default Parameters value
"""
- with open(self.workhome + "/testcases/config_functest.yaml") as f:
+ with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
functest_yaml = yaml.safe_load(f)
- f.close()
self.Result_DB = str(functest_yaml.get("results").get("test_db_url"))
self.masterusername = str(functest_yaml.get("ONOS").get("general").