ipatests: Fix interactive prompt in ca_less tests

This fix adds additional prompt which was missing previously
in test_interactive_missing_ds_pkcs_password and
test_interactive_missing_http_pkcs_password under CA-less integration
testsuite.

Fixes: https://pagure.io/freeipa/issue/7182

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Reviewed-By: Michal Reznik <mreznik@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2017-10-11 10:41:57 +05:30 committed by Stanislav Laznicka
parent 405da071d1
commit 222cef1a4d
No known key found for this signature in database
GPG Key ID: C98C414936B1A7F3

View File

@ -65,6 +65,9 @@ def get_install_stdin(cert_passwords=()):
def get_replica_prepare_stdin(cert_passwords=()):
lines = list(cert_passwords) # Enter foo.p12 unlock password
lines += [
'yes', # Continue [no]?
]
return '\n'.join(lines + [''])