freeipa/ipatests/test_xmlrpc
Petr Viktorin 3bf91eab25 Use Python3-compatible dict method names
Python 2 has keys()/values()/items(), which return lists,
iterkeys()/itervalues()/iteritems(), which return iterators,
and viewkeys()/viewvalues()/viewitems() which return views.

Python 3 has only keys()/values()/items(), which return views.
To get iterators, one can use iter() or a for loop/comprehension;
for lists there's the list() constructor.

When iterating through the entire dict, without modifying the dict,
 the difference between Python 2's items() and iteritems() is
negligible, especially on small dicts (the main overhead is
extra memory, not CPU time). In the interest of simpler code,
this patch changes many instances of iteritems() to items(),
iterkeys() to keys() etc.

In other cases, helpers like six.itervalues are used.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
2015-09-01 11:42:01 +02:00
..
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
ldaptracker.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
objectclasses.py Add plugin to manage service constraint delegations 2015-06-03 09:47:40 +00:00
test_add_remove_cert_cmd.py test suite for user/host/service certificate management API commands 2015-08-03 14:40:12 +02:00
test_attr.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_automember_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_automount_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_baseldap_plugin.py plugable: Pass API to plugins on initialization rather than using set_api 2015-07-01 13:05:30 +00:00
test_batch_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_cert_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_config_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_delegation_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_dns_plugin.py Port from python-krbV to python-gssapi 2015-08-26 09:41:36 +02:00
test_dns_realmdomains_integration.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_external_members.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_group_plugin.py Automated test for stageuser plugin 2015-08-25 13:19:06 +02:00
test_hbac_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_hbacsvcgroup_plugin.py Allow primary keys to use different type than unicode. 2014-04-18 14:59:20 +02:00
test_hbactest_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_host_plugin.py generalize certificate creation during testing 2015-06-23 10:29:20 +02:00
test_hostgroup_plugin.py Allow primary keys to use different type than unicode. 2014-04-18 14:59:20 +02:00
test_idviews_plugin.py ipatests: Add coverage for adding and removing sshpubkeys in ID overrides 2015-02-19 17:03:06 +01:00
test_krbtpolicy.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_nesting.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_netgroup_plugin.py Port from python-krbV to python-gssapi 2015-08-26 09:41:36 +02:00
test_old_permission_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_passwd_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_permission_plugin.py Port from python-krbV to python-gssapi 2015-08-26 09:41:36 +02:00
test_ping_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_privilege_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_pwpolicy_plugin.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
test_radiusproxy_plugin.py Allow primary keys to use different type than unicode. 2014-04-18 14:59:20 +02:00
test_range_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_realmdomains_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_replace.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_role_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_selfservice_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_selinuxusermap_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_service_plugin.py tests: service_plugin: Make sure the cert is decoded from base64 2015-07-22 11:09:59 +02:00
test_servicedelegation_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_stageuser_plugin.py Automated test for stageuser plugin 2015-08-25 13:19:06 +02:00
test_sudocmd_plugin.py Allow primary keys to use different type than unicode. 2014-04-18 14:59:20 +02:00
test_sudocmdgroup_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_sudorule_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_trust_plugin.py Use absolute imports 2015-08-12 18:17:23 +02:00
test_user_plugin.py Fix user tracker to reflect new user-del message 2015-08-27 12:24:23 +02:00
test_vault_plugin.py vault: fix vault tests after default type change 2015-08-26 14:01:41 +02:00
testcert.py plugable: Pass API to plugins on initialization rather than using set_api 2015-07-01 13:05:30 +00:00
xmlrpc_test.py Use six.string_types instead of "basestring" 2015-09-01 11:42:01 +02:00