User Management Tests

User management tests

rhui4_tests.test_user_management.setup()[source]

announce the beginning of the test run

rhui4_tests.test_user_management.teardown()[source]

announce the end of the test run

rhui4_tests.test_user_management.test_01_initial_run()[source]

log in the RHUI (if not logged in, try the saved admin password)

rhui4_tests.test_user_management.test_02_change_password()[source]

change the password (will log the user out automatically)

rhui4_tests.test_user_management.test_03_login_with_new_pass()[source]

log in with the new password

rhui4_tests.test_user_management.test_04_rerun_installer()[source]

rerun the RHUI installer while the new password is set

rhui4_tests.test_user_management.test_05_reset_password()[source]

change the password back to the default one

rhui4_tests.test_user_management.test_06_login_with_wrong_pass()[source]

try logging in with the wrong password, should fail gracefully

rhui4_tests.test_user_management.test_07_login_logout_cli()[source]

log in and then log out on the command line

rhui4_tests.test_user_management.test_08_login_logout_tui()[source]

log in and then log out in the TUI

rhui4_tests.test_user_management.test_09_auto_load_password()[source]

check if rhui-manager automatically loads credentials in non-interactive mode

rhui4_tests.test_user_management.test_10_username_password_options()[source]

supply good and bad credentials on the command line, expect corresponding exit codes