Merge pull request #38812 from rallytime/pyobjects-test

Update pyobjects test to be a list
This commit is contained in:
Mike Place 2017-01-18 14:06:00 -07:00 committed by GitHub
commit d14f0c64eb

View file

@ -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