aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/tempest/conf_utils.py
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-08-24 13:19:11 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-08-24 13:19:11 +0000
commit671b3356e8fc7c6219919f978a3dee6b69e8c663 (patch)
tree3e311884dde7947a743b79bb29f50d308432296e /functest/opnfv_tests/openstack/tempest/conf_utils.py
parentc67c6687976a486af880ece2e6831d7ef7fbbdcc (diff)
parent07e73e65dea6526ea835cbfe3f864a7e102f658c (diff)
Merge "Fix the tempest error when creating snapshot"
Diffstat (limited to 'functest/opnfv_tests/openstack/tempest/conf_utils.py')
-rw-r--r--functest/opnfv_tests/openstack/tempest/conf_utils.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/functest/opnfv_tests/openstack/tempest/conf_utils.py b/functest/opnfv_tests/openstack/tempest/conf_utils.py
index fccfebce..52fa6003 100644
--- a/functest/opnfv_tests/openstack/tempest/conf_utils.py
+++ b/functest/opnfv_tests/openstack/tempest/conf_utils.py
@@ -130,9 +130,6 @@ def backup_tempest_config(conf_file):
"""
Copy config file to tempest results directory
"""
- if not os.path.exists(TEMPEST_RESULTS_DIR):
- os.makedirs(TEMPEST_RESULTS_DIR)
-
shutil.copyfile(conf_file,
os.path.join(TEMPEST_RESULTS_DIR, 'tempest.conf'))