Skip to content

Commit

Permalink
Update test_esx_sca.py
Browse files Browse the repository at this point in the history
Update the password to use gen_string('alpha')
  • Loading branch information
yanpliu authored Jan 17, 2024
1 parent 201730a commit 6be5d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/virtwho/ui/test_esx_sca.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']

0 comments on commit 6be5d1e

Please sign in to comment.