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:
1 parent
405da071d1
commit
222cef1a4d
1 file changed
+3
@@ -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 + [''])
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user