freeipa/tests/test_xmlrpc
John Dennis d9d00f1522 Update test_role_plugin test to include a comma in a privilege
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.
2011-06-22 02:06:02 -04:00
..
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
objectclasses.py Add handling for indirect memberof other entries. 2011-02-21 11:21:23 -05:00
test_attr.py Add UID, GID and e-mail to the user default attributes. 2011-06-08 23:30:11 +00:00
test_automount_plugin.py Sort entries returned by *-find by the primary key (if any). 2011-04-13 17:29:16 +02:00
test_cert.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_delegation_plugin.py Fix changing membergroup in a delegation. 2011-02-01 11:59:24 -05:00
test_dns_plugin.py Enforce that all NS records are resolvable 2011-01-28 11:44:38 -05:00
test_group_plugin.py Add UID, GID and e-mail to the user default attributes. 2011-06-08 23:30:11 +00:00
test_hbac_plugin.py Add sudorule and hbacrule to memberof and indirectmemberof attributes 2011-06-06 13:14:38 -04:00
test_hbacsvcgroup_plugin.py HBAC plugin inconsistent output 2011-02-16 10:39:16 -05:00
test_host_plugin.py Require an imported certificate's issuer to match our issuer. 2011-06-16 19:27:17 -04:00
test_hostgroup_plugin.py Display the entries that failed when deleting with --continue. 2011-01-10 10:32:10 -05:00
test_krbtpolicy.py Add UID, GID and e-mail to the user default attributes. 2011-06-08 23:30:11 +00:00
test_nesting.py Fix indirect member calculation 2011-06-14 15:34:11 +00:00
test_netgroup_plugin.py Add UID, GID and e-mail to the user default attributes. 2011-06-08 23:30:11 +00:00
test_passwd_plugin.py Display the entries that failed when deleting with --continue. 2011-01-10 10:32:10 -05:00
test_permission_plugin.py Permission rename test failing 2011-02-01 15:43:12 -05:00
test_privilege_plugin.py Rename permissions and privileges to be more readable. 2011-01-31 13:17:38 -05:00
test_pwpolicy.py Display the entries that failed when deleting with --continue. 2011-01-10 10:32:10 -05:00
test_replace.py Add UID, GID and e-mail to the user default attributes. 2011-06-08 23:30:11 +00:00
test_role_plugin.py Update test_role_plugin test to include a comma in a privilege 2011-06-22 02:06:02 -04:00
test_selfservice_plugin.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
test_service_plugin.py Require an imported certificate's issuer to match our issuer. 2011-06-16 19:27:17 -04:00
test_sudocmd_plugin.py Move sudo related data all under cn=sudo 2011-01-17 11:46:45 -05:00
test_sudocmdgroup_plugin.py Sudo command groups are not supposed to allow nesting. 2011-02-23 18:44:28 -05:00
test_sudorule_plugin.py Raise DuplicateEntry Error when adding a duplicate sudo option 2011-06-16 19:21:07 -04:00
test_user_plugin.py Add UID, GID and e-mail to the user default attributes. 2011-06-08 23:30:11 +00:00
xmlrpc_test.py Require an imported certificate's issuer to match our issuer. 2011-06-16 19:27:17 -04:00