Create results/tempest dir for refstack config 29/41029/2
authorLinda Wang <wangwulin@huawei.com>
Tue, 5 Sep 2017 02:49:56 +0000 (02:49 +0000)
committerLinda Wang <wangwulin@huawei.com>
Tue, 5 Sep 2017 07:13:21 +0000 (07:13 +0000)
commit48ab10bb0a1ae754309e0810b3d85acdf70c8225
tree7476d63a25524ad0db92dde1047aa5139b91a11c
parentbbe21a39bb86d1c548728ba3aaf98bb2a9419ec3
Create results/tempest dir for refstack config

When generating refstack client reference tempest conf file,
the step of tempest.conf backup is necessary.
So if the dir results/tempest is absent, error shows:
[Errno 2] No such file or directory:
'/home/opnfv/functest/results/tempest/tempest.conf'

Change-Id: I7aba5baff55a51881d125b28f99d71d0cc0a5c72
Signed-off-by: Linda Wang <wangwulin@huawei.com>
functest/opnfv_tests/openstack/tempest/conf_utils.py
functest/tests/unit/openstack/tempest/test_conf_utils.py