From 222cef1a4d55f8d311d01a51bc3e01e1a64aa337 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Wed, 11 Oct 2017 10:41:57 +0530 Subject: [PATCH] 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 Reviewed-By: Michal Reznik --- ipatests/test_integration/test_caless.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipatests/test_integration/test_caless.py b/ipatests/test_integration/test_caless.py index eccc9967d..ae9b19368 100644 --- a/ipatests/test_integration/test_caless.py +++ b/ipatests/test_integration/test_caless.py @@ -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 + [''])