mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatest: loginscreen: do not use hardcoded password
Use admin password obtained from local config instead of hardcoded value, as the password may differ in different testing environments. https://pagure.io/freeipa/issue/9226 Signed-off-by: Michal Polovka <mpolovka@redhat.com> Reviewed-By: Erik Belko <ebelko@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
4f9e6b1bed
commit
ba845b237f
@@ -9,7 +9,6 @@ PASSWD_ITEST_USER = '12345678'
|
||||
PASSWD_ITEST_USER_NEW = '87654321'
|
||||
|
||||
ROOT_PKEY = 'root'
|
||||
PASSWD_ADMIN = 'Secret.123'
|
||||
|
||||
# used for add/delete fixture test user
|
||||
DATA_ITEST_USER = {
|
||||
|
||||
@@ -412,6 +412,6 @@ class TestLoginScreen(UI_driver):
|
||||
"""
|
||||
self.load()
|
||||
assert self.login_screen_visible()
|
||||
self.login(loginscreen.ROOT_PKEY, loginscreen.PASSWD_ADMIN)
|
||||
self.login(loginscreen.ROOT_PKEY, self.config['ipa_password'])
|
||||
|
||||
assert self.logged_in()
|
||||
|
||||
Reference in New Issue
Block a user