Merge "Replace uuid4() with generate_uuid() from oslo_utils"

This commit is contained in:
Jenkins 2016-11-09 13:20:26 +00:00 committed by Gerrit Code Review
commit 9490cd0eba
1 changed files with 3 additions and 2 deletions

View File

@ -13,9 +13,9 @@
# limitations under the License.
import base64
from urlparse import urlparse
import uuid
from oslo_serialization import jsonutils
from oslo_utils import uuidutils
from tempest import test
from mistral_tempest_tests.tests import base
@ -106,7 +106,8 @@ def _execute_action(client, request, extra_headers={}):
def _get_create_stack_request():
stack_name = 'multi_vim_test_stack_{}'.format(str(uuid.uuid4())[:8])
stack_name = 'multi_vim_test_stack_{}'.format(
uuidutils.generate_uuid()[:8])
return {
'name': 'heat.stacks_create',