mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Improve coverage of expect integration tests. (#30608)
This commit is contained in:
parent
ca56a248d8
commit
79839615e7
2 changed files with 116 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
import sys
|
||||
|
||||
from ansible.module_utils.six.moves import input
|
||||
user_input = input('foo')
|
||||
print(user_input)
|
||||
|
||||
|
||||
prompts = sys.argv[1:] or ['foo']
|
||||
|
||||
for prompt in prompts:
|
||||
user_input = input(prompt)
|
||||
print(user_input)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue