freeipa/ipatests/test_xmlrpc
Petr Spacek 70794c7b1d Turn verify_host_resolvable() into a wrapper around ipapython.dnsutil
The code was duplicate and less generic anyway.
As a side-effect I had to re-wrap dns.exception.DNSException into a
PublicError so it can be displayed to the user.

DNSError is now a super class for other DNS-related errors. Errors from
DNS resolver are re-raised as DNSResolverError.

https://fedorahosted.org/freeipa/ticket/5710

Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-05-30 20:14:32 +02:00
..
data ipatests: CA ACL and cert profile functional test 2015-10-27 09:57:48 +01:00
tracker xmlrpc_test: Expect bytes rather than strings for binary attributes 2016-05-05 16:42:46 +02:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
objectclasses.py ipatests: Add initial CAACLTracker implementation 2015-10-27 09:57:48 +01:00
test_add_remove_cert_cmd.py test_add_remove_cert_cmd: Use bytes for base64.b64encode() 2016-05-05 16:42:46 +02:00
test_attr.py frontend: re-raise remote RequirementError using CLI name in CLI 2016-05-25 16:06:26 +02:00
test_automember_plugin.py Refactor test_automember_plugin, create AutomemberTracker 2016-04-19 10:35:13 +02:00
test_automount_plugin.py Cosmetic changes to the code 2016-02-24 09:21:30 +01:00
test_baseldap_plugin.py frontend: merge baseldap.CallbackRegistry into Command 2016-05-25 16:06:26 +02:00
test_batch_plugin.py rpc: include structured error information in responses 2016-05-25 16:06:26 +02:00
test_caacl_plugin.py ipatests: Add missing certificate profile fixture 2016-02-11 14:13:56 +01:00
test_caacl_profile_enforcement.py ipatests: Add test case for requesting a certificate with full principal. 2016-04-21 17:06:54 +02:00
test_cert_plugin.py test_cert_plugin: Encode 'certificate' for comparison with 'usercertificate' 2016-05-10 12:41:15 +02:00
test_certprofile_plugin.py Alias "unicode" to "str" under Python 3 2016-01-20 11:59:21 +01:00
test_config_plugin.py frontend: re-raise remote RequirementError using CLI name in CLI 2016-05-25 16:06:26 +02:00
test_delegation_plugin.py Remove unused imports 2015-12-23 07:59:22 +01:00
test_dns_plugin.py DNS: Warn if forwarding policy conflicts with automatic empty zones 2016-05-30 20:14:32 +02:00
test_dns_realmdomains_integration.py rpc: include structured error information in responses 2016-05-25 16:06:26 +02:00
test_external_members.py Applied tier0 and tier1 marks on unit tests and xmlrpc tests 2015-11-09 11:49:17 +01:00
test_group_plugin.py Refactor test_group_plugin, use GroupTracker for tests 2016-03-08 16:32:11 +01:00
test_hbac_plugin.py Applied tier0 and tier1 marks on unit tests and xmlrpc tests 2015-11-09 11:49:17 +01:00
test_hbacsvcgroup_plugin.py Applied tier0 and tier1 marks on unit tests and xmlrpc tests 2015-11-09 11:49:17 +01:00
test_hbactest_plugin.py Remove unused imports 2015-12-23 07:59:22 +01:00
test_host_plugin.py Turn verify_host_resolvable() into a wrapper around ipapython.dnsutil 2016-05-30 20:14:32 +02:00
test_hostgroup_plugin.py Refactor test_hostgroup_plugin 2016-03-24 14:38:22 +01:00
test_idviews_plugin.py Applied tier0 and tier1 marks on unit tests and xmlrpc tests 2015-11-09 11:49:17 +01:00
test_krbtpolicy.py Applied tier0 and tier1 marks on unit tests and xmlrpc tests 2015-11-09 11:49:17 +01:00
test_nesting.py Refactor test_nesting, create HostGroupTracker 2016-03-24 14:36:55 +01:00
test_netgroup_plugin.py Remove unused imports 2015-12-23 07:59:22 +01:00
test_old_permission_plugin.py rpc: include structured error information in responses 2016-05-25 16:06:26 +02:00
test_passwd_plugin.py Remove unused imports 2015-12-23 07:59:22 +01:00
test_permission_plugin.py frontend: re-raise remote RequirementError using CLI name in CLI 2016-05-25 16:06:26 +02:00
test_ping_plugin.py Ping module tests. 2016-05-18 17:19:05 +02:00
test_privilege_plugin.py Remove unused imports 2015-12-23 07:59:22 +01:00
test_pwpolicy_plugin.py Applied tier0 and tier1 marks on unit tests and xmlrpc tests 2015-11-09 11:49:17 +01:00
test_radiusproxy_plugin.py radiusproxy plugin tests: Expect bytes, not text, for ipatokenradiussecret 2016-05-05 16:42:46 +02:00
test_range_plugin.py range plugin tests: Use bytes with MockLDAP under Python 3 2016-05-05 16:42:46 +02:00
test_realmdomains_plugin.py rpc: include structured error information in responses 2016-05-25 16:06:26 +02:00
test_replace.py Refactor test_replace 2016-01-26 19:03:15 +01:00
test_role_plugin.py Remove unused imports 2015-12-23 07:59:22 +01:00
test_selfservice_plugin.py Remove unused imports 2015-12-23 07:59:22 +01:00
test_selinuxusermap_plugin.py Applied tier0 and tier1 marks on unit tests and xmlrpc tests 2015-11-09 11:49:17 +01:00
test_service_plugin.py Remove unused imports 2015-12-23 07:59:22 +01:00
test_servicedelegation_plugin.py Applied tier0 and tier1 marks on unit tests and xmlrpc tests 2015-11-09 11:49:17 +01:00
test_stageuser_plugin.py xmlrpc_test: Expect bytes rather than strings for binary attributes 2016-05-05 16:42:46 +02:00
test_sudocmd_plugin.py Refactor test_sudocmd_plugin 2016-03-01 13:50:32 +01:00
test_sudocmdgroup_plugin.py Refactor test_sudocmdgroup_plugin 2016-03-01 13:50:32 +01:00
test_sudorule_plugin.py Applied tier0 and tier1 marks on unit tests and xmlrpc tests 2015-11-09 11:49:17 +01:00
test_trust_plugin.py Applied tier0 and tier1 marks on unit tests and xmlrpc tests 2015-11-09 11:49:17 +01:00
test_user_plugin.py xmlrpc_test: Expect bytes rather than strings for binary attributes 2016-05-05 16:42:46 +02:00
test_vault_plugin.py Remove unused imports 2015-12-23 07:59:22 +01:00
testcert.py Remove unused imports 2015-12-23 07:59:22 +01:00
xmlrpc_test.py xmlrpc_test: Rename exception instance before working with it 2016-05-05 16:42:46 +02:00