It adds lower and upper letters
JIRA: DOVETAIL-747
Change-Id: I4bdfcbf31a6dae4aa555fca3d42bbdec514a2b6b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
470bcd99fdabf53d4652d13280329243d5f81c4a)
import logging
import os
+import random
+import string
import time
import uuid
"""Create projects/users"""
assert self.orig_cloud
assert self.case_name
- self.password = str(uuid.uuid4())
+ self.password = ''.join(random.choice(
+ string.ascii_letters + string.digits) for _ in range(30))
self.domain = self.orig_cloud.get_domain(
name_or_id=self.orig_cloud.auth.get(
"project_domain_name", "Default"))