0018c7cccf
parser to cut down on the number of places that have component-specific configuration knowledge. Add a --no-prompt-passwords flag to stack for users that want auto-generated passwords without having to press enter for each one. Pork: - Ignore the emacs TAGS file.
11 lines
205 B
Python
11 lines
205 B
Python
|
|
from devstack import passwords
|
|
|
|
|
|
def test_generate_random():
|
|
def check_one(i):
|
|
p = passwords.generate_random(i)
|
|
assert len(p) == i
|
|
for i in range(1, 9):
|
|
yield check_one, i
|