mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #38812 from rallytime/pyobjects-test
Update pyobjects test to be a list
This commit is contained in:
commit
d14f0c64eb
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ Pkg.removed("samba-imported", names=[Other.server, Other.client])
|
|||
|
||||
random_password_template = '''#!pyobjects
|
||||
import random, string
|
||||
password = ''.join(random.SystemRandom().choice(
|
||||
string.ascii_letters + string.digits) for _ in range(20))
|
||||
password = ''.join([random.SystemRandom().choice(
|
||||
string.ascii_letters + string.digits) for _ in range(20)])
|
||||
'''
|
||||
|
||||
random_password_import_template = '''#!pyobjects
|
||||
|
|
Loading…
Add table
Reference in a new issue