Catch os.makedirs() exceptions in tempest.py
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 26 Apr 2017 07:18:04 +0000 (09:18 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 26 Apr 2017 07:35:47 +0000 (09:35 +0200)
commitd1398b95c40dacdeb1bf03cbfff77a458ccb8235
tree88a7182d2162f9a669a7ed86ac53ce17c5209cc8
parent37c98a6fa101be2b32129dd5d71ad750f5245b88
Catch os.makedirs() exceptions in tempest.py

It can raise an error exception if the leaf directory already exists or
cannot be created [1].

[1] https://docs.python.org/2/library/os.html

JIRA: FUNCTEST-804

Change-Id: Ie410bccf1bb2dfd36df6e918c152ecf94844b5d7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
functest/opnfv_tests/openstack/tempest/tempest.py