python2 tests failures.
This commit is contained in:
arbisoft
2019-08-27 16:57:54 +05:00
parent 5012ed6ea4
commit 5a2114ac6c
3 changed files with 3 additions and 3 deletions

View File

@@ -520,7 +520,7 @@ def generate_random_string(length):
if char not in 'aAeEiIoOuU1l'
]
return string.join((random.choice(chars) for __ in range(length)), '')
return ''.join((random.choice(chars) for i in range(length)))
def generate_unique_password(generated_passwords, password_length=12):