aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/OpenStack/tempest/run_tempest.py
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2016-09-01 08:30:09 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-01 08:30:09 +0000
commitc94a1c01e46b21f0139a8b1419f26c8b9f867a41 (patch)
tree0b1c11a9d286aefd1c015dac90d5acea94206678 /testcases/OpenStack/tempest/run_tempest.py
parent5fbdcb8d13e63cec2614a9703f0b3f640f05aa49 (diff)
parentf4d0a05011e961a363c6d99522684ecdeb959716 (diff)
Merge "unify functest_yaml obtain process"
Diffstat (limited to 'testcases/OpenStack/tempest/run_tempest.py')
-rwxr-xr-xtestcases/OpenStack/tempest/run_tempest.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/testcases/OpenStack/tempest/run_tempest.py b/testcases/OpenStack/tempest/run_tempest.py
index 9285b67d..3fa9b368 100755
--- a/testcases/OpenStack/tempest/run_tempest.py
+++ b/testcases/OpenStack/tempest/run_tempest.py
@@ -60,9 +60,7 @@ logger = ft_logger.Logger("run_tempest").getLogger()
REPO_PATH = os.environ['repos_dir'] + '/functest/'
-with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
- functest_yaml = yaml.safe_load(f)
-f.close()
+functest_yaml = ft_utils.get_functest_yaml()
TEST_DB = functest_yaml.get("results").get("test_db_url")
MODE = "smoke"