From 6be5d1e45838b39da2b97f7fced4cd0cb2a1317c Mon Sep 17 00:00:00 2001 From: yanpliu Date: Wed, 17 Jan 2024 09:46:22 +0800 Subject: [PATCH] Update test_esx_sca.py Update the password to use gen_string('alpha') --- tests/foreman/virtwho/ui/test_esx_sca.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/foreman/virtwho/ui/test_esx_sca.py b/tests/foreman/virtwho/ui/test_esx_sca.py index 782709df638..a4c45dd4960 100644 --- a/tests/foreman/virtwho/ui/test_esx_sca.py +++ b/tests/foreman/virtwho/ui/test_esx_sca.py @@ -647,6 +647,6 @@ def test_positive_hypervisor_password_option( assert get_configure_option('encrypted_password', config_file) res = org_session.virtwho_configure.read_edit(name) assert 'encrypted-' in res['hypervisor_content']['password'] - org_session.virtwho_configure.edit(name, {'hypervisor_password': "Welcome1!"}) + org_session.virtwho_configure.edit(name, {'hypervisor_password': gen_string('alpha')}) results = org_session.virtwho_configure.read(name) assert 'encrypted_password=$cr_password' in results['deploy']['script']