tests_webui: fix wrong user name key for trail space case

User name for trail space key was using the name for lead space key.
As a result, when both tests were transformed, second one was
unsuccessful as the original user was already created.

Fix the user name data according to the test.

Fixes: https://pagure.io/freeipa/issue/8629
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
Alexander Bokovoy
2020-12-19 14:46:16 +02:00
parent 2c98105cf2
commit 705f564eb6

View File

@@ -175,9 +175,9 @@ DATA_PASSWD_LEAD_SPACE = {
PKEY_PASSWD_TRAIL_SPACE = 'itest-user-passwd-trailing-space'
DATA_PASSWD_TRAIL_SPACE = {
'pkey': PKEY_PASSWD_LEAD_SPACE,
'pkey': PKEY_PASSWD_TRAIL_SPACE,
'add': [
('textbox', 'uid', PKEY_PASSWD_LEAD_SPACE),
('textbox', 'uid', PKEY_PASSWD_TRAIL_SPACE),
('textbox', 'givenname', 'Name8'),
('textbox', 'sn', 'Surname8'),
('password', 'userpassword', 'Password123 '),