mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-27 01:11:32 -06:00
3927b0e7b1
Follwoing scenario added: - test_add_all_attr - test_add_and_add_another - test_add_and_edit - test_add_and_cancel - test_add_permission_undo - test_add_permission_reset - test_permission_negative - test_del_multiple_permission - test_permission_using_enter_key - test_reset_sshkey_permsission Signed-off-by: Mohammad Rizwan Yusuf <myusuf@redhat.com> Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
135 lines
5.2 KiB
Python
135 lines
5.2 KiB
Python
#
|
|
# Copyright (C) 2018 FreeIPA Contributors see COPYING for license
|
|
#
|
|
|
|
ENTITY = 'selfservice'
|
|
PKEY = 'itest-selfservice-rule'
|
|
DATA = {
|
|
'pkey': PKEY,
|
|
'add': [
|
|
('textbox', 'aciname', PKEY),
|
|
('checkbox', 'attrs', 'audio'),
|
|
('checkbox', 'attrs', 'businesscategory'),
|
|
],
|
|
'mod': [
|
|
('checkbox', 'attrs', 'businesscategory'),
|
|
],
|
|
}
|
|
|
|
PKEY1 = 'itest-selfservice-rule1'
|
|
DATA1 = {
|
|
'pkey': PKEY1,
|
|
'add': [
|
|
('textbox', 'aciname', PKEY1),
|
|
('checkbox', 'attrs', 'businesscategory'),
|
|
],
|
|
'mod': [
|
|
('checkbox', 'attrs', 'businesscategory'),
|
|
('checkbox', 'attrs', 'departmentnumber'),
|
|
('checkbox', 'attrs', 'destinationindicator'),
|
|
],
|
|
}
|
|
|
|
DATA2 = [
|
|
('checkbox', 'attrs', 'businesscategory'),
|
|
('checkbox', 'attrs', 'departmentnumber'),
|
|
('checkbox', 'attrs', 'destinationindicator'),
|
|
]
|
|
|
|
DATA_ALL = {
|
|
'pkey': PKEY,
|
|
'add': [
|
|
('textbox', 'aciname', PKEY),
|
|
('checkbox', 'attrs', 'audio'),
|
|
('checkbox', 'attrs', 'businesscategory'),
|
|
('checkbox', 'attrs', 'carlicense'),
|
|
('checkbox', 'attrs', 'cn'),
|
|
('checkbox', 'attrs', 'departmentnumber'),
|
|
('checkbox', 'attrs', 'description'),
|
|
('checkbox', 'attrs', 'destinationindicator'),
|
|
('checkbox', 'attrs', 'displayname'),
|
|
('checkbox', 'attrs', 'employeenumber'),
|
|
('checkbox', 'attrs', 'employeetype'),
|
|
('checkbox', 'attrs', 'facsimiletelephonenumber'),
|
|
('checkbox', 'attrs', 'gecos'),
|
|
('checkbox', 'attrs', 'gidnumber'),
|
|
('checkbox', 'attrs', 'givenname'),
|
|
('checkbox', 'attrs', 'homedirectory'),
|
|
('checkbox', 'attrs', 'homephone'),
|
|
('checkbox', 'attrs', 'homepostaladdress'),
|
|
('checkbox', 'attrs', 'inetuserhttpurl'),
|
|
('checkbox', 'attrs', 'inetuserstatus'),
|
|
('checkbox', 'attrs', 'initials'),
|
|
('checkbox', 'attrs', 'internationalisdnnumber'),
|
|
('checkbox', 'attrs', 'ipacertmapdata'),
|
|
('checkbox', 'attrs', 'ipakrbauthzdata'),
|
|
('checkbox', 'attrs', 'ipasshpubkey'),
|
|
('checkbox', 'attrs', 'ipatokenradiusconfiglink'),
|
|
('checkbox', 'attrs', 'ipatokenradiususername'),
|
|
('checkbox', 'attrs', 'ipauniqueid'),
|
|
('checkbox', 'attrs', 'ipauserauthtype'),
|
|
('checkbox', 'attrs', 'jpegphoto'),
|
|
('checkbox', 'attrs', 'krballowedtodelegateto'),
|
|
('checkbox', 'attrs', 'krbcanonicalname'),
|
|
('checkbox', 'attrs', 'krbextradata'),
|
|
('checkbox', 'attrs', 'krblastadminunlock'),
|
|
('checkbox', 'attrs', 'krblastfailedauth'),
|
|
('checkbox', 'attrs', 'krblastpwdchange'),
|
|
('checkbox', 'attrs', 'krblastsuccessfulauth'),
|
|
('checkbox', 'attrs', 'krbloginfailedcount'),
|
|
('checkbox', 'attrs', 'krbmaxrenewableage'),
|
|
('checkbox', 'attrs', 'krbmaxticketlife'),
|
|
('checkbox', 'attrs', 'krbpasswordexpiration'),
|
|
('checkbox', 'attrs', 'krbprincipalaliases'),
|
|
('checkbox', 'attrs', 'krbprincipalauthind'),
|
|
('checkbox', 'attrs', 'krbprincipalexpiration'),
|
|
('checkbox', 'attrs', 'krbprincipalkey'),
|
|
('checkbox', 'attrs', 'krbprincipalname'),
|
|
('checkbox', 'attrs', 'krbprincipaltype'),
|
|
('checkbox', 'attrs', 'krbpwdhistory'),
|
|
('checkbox', 'attrs', 'krbpwdpolicyreference'),
|
|
('checkbox', 'attrs', 'krbticketflags'),
|
|
('checkbox', 'attrs', 'krbticketpolicyreference'),
|
|
('checkbox', 'attrs', 'krbupenabled'),
|
|
('checkbox', 'attrs', 'l'),
|
|
('checkbox', 'attrs', 'labeleduri'),
|
|
('checkbox', 'attrs', 'loginshell'),
|
|
('checkbox', 'attrs', 'mail'),
|
|
('checkbox', 'attrs', 'manager'),
|
|
('checkbox', 'attrs', 'memberof'),
|
|
('checkbox', 'attrs', 'mepmanagedentry'),
|
|
('checkbox', 'attrs', 'mobile'),
|
|
('checkbox', 'attrs', 'o'),
|
|
('checkbox', 'attrs', 'objectclass'),
|
|
('checkbox', 'attrs', 'ou'),
|
|
('checkbox', 'attrs', 'pager'),
|
|
('checkbox', 'attrs', 'photo'),
|
|
('checkbox', 'attrs', 'physicaldeliveryofficename'),
|
|
('checkbox', 'attrs', 'postaladdress'),
|
|
('checkbox', 'attrs', 'postalcode'),
|
|
('checkbox', 'attrs', 'postofficebox'),
|
|
('checkbox', 'attrs', 'preferreddeliverymethod'),
|
|
('checkbox', 'attrs', 'preferredlanguage'),
|
|
('checkbox', 'attrs', 'registeredaddress'),
|
|
('checkbox', 'attrs', 'roomnumber'),
|
|
('checkbox', 'attrs', 'secretary'),
|
|
('checkbox', 'attrs', 'seealso'),
|
|
('checkbox', 'attrs', 'sn'),
|
|
('checkbox', 'attrs', 'st'),
|
|
('checkbox', 'attrs', 'street'),
|
|
('checkbox', 'attrs', 'telephonenumber'),
|
|
('checkbox', 'attrs', 'teletexterminalidentifier'),
|
|
('checkbox', 'attrs', 'telexnumber'),
|
|
('checkbox', 'attrs', 'title'),
|
|
('checkbox', 'attrs', 'uid'),
|
|
('checkbox', 'attrs', 'uidnumber'),
|
|
('checkbox', 'attrs', 'usercertificate'),
|
|
('checkbox', 'attrs', 'userclass'),
|
|
('checkbox', 'attrs', 'userpassword'),
|
|
('checkbox', 'attrs', 'userpkcs12'),
|
|
('checkbox', 'attrs', 'usersmimecertificate'),
|
|
('checkbox', 'attrs', 'x121address'),
|
|
('checkbox', 'attrs', 'x500uniqueidentifier'),
|
|
],
|
|
}
|