mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Introduce a comma into a privilege name to assure we can handle commas. Commas must be escaped for some parameters, add escape_comma() utility and invoke it for the necessary parameters. Utilize a DN object to properly construct a DN and most importantly to allow equality testing beween the DN we expect and the one returned. This is necessary because a DN can be encoded according to different encoding syntaxes all of which are valid. DN objects always decode from their input. DN objects can test for equality between DN's without being affected by DN encoding. Add a equality callback for the dn in the expected dict. When the test framework tests for equality between the expected value and the returned value it will call back into a function we provide which will convert the returned dn into a DN object. An equality test is then performed between two DN objects. This is the only way to properly compare two dn's. |
||
---|---|---|
.. | ||
__init__.py | ||
objectclasses.py | ||
test_attr.py | ||
test_automount_plugin.py | ||
test_cert.py | ||
test_delegation_plugin.py | ||
test_dns_plugin.py | ||
test_group_plugin.py | ||
test_hbac_plugin.py | ||
test_hbacsvcgroup_plugin.py | ||
test_host_plugin.py | ||
test_hostgroup_plugin.py | ||
test_krbtpolicy.py | ||
test_nesting.py | ||
test_netgroup_plugin.py | ||
test_passwd_plugin.py | ||
test_permission_plugin.py | ||
test_privilege_plugin.py | ||
test_pwpolicy.py | ||
test_replace.py | ||
test_role_plugin.py | ||
test_selfservice_plugin.py | ||
test_service_plugin.py | ||
test_sudocmd_plugin.py | ||
test_sudocmdgroup_plugin.py | ||
test_sudorule_plugin.py | ||
test_user_plugin.py | ||
xmlrpc_test.py |