freeipa/ipatests/test_xmlrpc
Christian Heimes fd1b4f6ec9 Add options to run only ipaclient unittests
A new option for ipa-run-tests makes the test runner ignore
subdirectories or skips tests that depend on the ipaserver package or on
a running framework for RPC integration tests. The new option enables
testing of client-only builds.

$ ipatests/ipa-run-tests --ipaclient-unittests
...
platform linux2 -- Python 2.7.13, pytest-2.9.2, py-1.4.32, pluggy-0.3.1
rootdir: /home/heimes/redhat, inifile: tox.ini
plugins: sourceorder-0.5, cov-2.3.0, betamax-0.7.1, multihost-1.1
collected 451 items

test_util.py ........
util.py ..
test_ipaclient/test_csrgen.py ..............ssss...
test_ipalib/test_aci.py ...................
test_ipalib/test_backend.py ........
test_ipalib/test_base.py ...............
test_ipalib/test_capabilities.py .
test_ipalib/test_cli.py ...
test_ipalib/test_config.py ...............
test_ipalib/test_crud.py ...............
test_ipalib/test_errors.py .......
test_ipalib/test_frontend.py ........................................
test_ipalib/test_messages.py ....
test_ipalib/test_output.py ...
test_ipalib/test_parameters.py .............................................................
test_ipalib/test_plugable.py ........
test_ipalib/test_rpc.py ......ssssssss
test_ipalib/test_text.py .............................
test_ipalib/test_x509.py ...
test_ipapython/test_cookie.py ............
test_ipapython/test_dn.py ...........................
test_ipapython/test_ipautil.py ..................................................................
test_ipapython/test_ipavalidate.py ..........
test_ipapython/test_kerberos.py ..............
test_ipapython/test_keyring.py ..........
test_ipapython/test_ssh.py ...............................
test_pkcs10/test_pkcs10.py .....

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

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
2017-03-17 15:02:13 +01:00
..
data ipatests: remove ipacertbase option from test CSR configuration 2016-07-12 10:55:50 +02:00
tracker Add SHA256 fingerprints for certs 2017-03-07 19:52:43 +01:00
__init__.py Add options to run only ipaclient unittests 2017-03-17 15:02:13 +01:00
mock_trust.py ipatests: Move trust mock helper functions to a separate module 2016-07-29 09:04:42 +02:00
objectclasses.py ipatests: Tracker implementation for Sub CA feature 2016-07-12 10:55:50 +02:00
test_add_remove_cert_cmd.py tests: Stageuser-{add,remove}-cert 2017-02-07 13:58:48 +01: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 test: automember: Fix expected exception message 2016-06-29 10:49:37 +02:00
test_automount_plugin.py Fix Python 3 bugs discovered by pylint 2016-11-25 16:18:22 +01:00
test_baseldap_plugin.py Remove unused variables in tests 2016-09-27 13:35:58 +02:00
test_batch_plugin.py ipalib: move server-side plugins to ipaserver 2016-06-03 09:00:34 +02:00
test_ca_plugin.py ipatests: Tracker implementation for Sub CA feature 2016-07-12 10:55:50 +02:00
test_caacl_plugin.py Test for caacl-add-service 2016-08-30 10:35:58 +02:00
test_caacl_profile_enforcement.py py3: tests_xmlrpc: do not call str() on bytes 2017-02-02 13:43:16 +01:00
test_cert_plugin.py Separate RA cert store from the HTTP cert store 2017-02-15 07:13:37 +01:00
test_certprofile_plugin.py Tests: Remove --force options from tracker base class 2016-09-21 18:39:56 +02:00
test_config_plugin.py config-mod: normalize attribute names for --usersearch/--groupsearch 2016-08-22 17:53:31 +02:00
test_delegation_plugin.py ipalib: move server-side plugins to ipaserver 2016-06-03 09:00:34 +02:00
test_dns_plugin.py DNS: Support URI resource record type 2016-10-11 16:48:47 +02:00
test_dns_realmdomains_integration.py DNS: Fix tests for realm domains integration with DNS zone add 2016-06-28 14:19:56 +02:00
test_external_members.py rpc: specify connection options in API config 2016-06-03 09:00:34 +02:00
test_group_plugin.py Tests: Remove silent deleting and creating entries by tracker 2016-10-06 19:16:37 +02:00
test_hbac_plugin.py Remove unused variables in tests 2016-09-27 13:35:58 +02:00
test_hbacsvcgroup_plugin.py Performance: Find commands: do not process members by default 2016-05-31 14:08:54 +02:00
test_hbactest_plugin.py remove trailing newlines form python modules 2016-10-12 10:38:52 +02:00
test_host_plugin.py Add SHA256 fingerprints for certs 2017-03-07 19:52:43 +01:00
test_hostgroup_plugin.py Performance: Find commands: do not process members by default 2016-05-31 14:08:54 +02:00
test_idviews_plugin.py Generate sha256 ssh pubkey fingerprints for hosts 2017-01-12 11:09:46 +01:00
test_kerberos_principal_aliases.py tests: Add tests for kerberos principal aliases in stageuser 2017-02-07 13:58:48 +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_location_plugin.py Tests: Fix for failing location tests 2016-06-23 15:29:06 +02:00
test_nesting.py Refactor test_nesting, create HostGroupTracker 2016-03-24 14:36:55 +01:00
test_netgroup_plugin.py Unify display of principal names/aliases across entities 2016-07-01 09:37:25 +02:00
test_old_permission_plugin.py Removed objectclass from LDAP*ReverseMember based tests 2016-08-10 13:53:55 +02:00
test_passwd_plugin.py ipalib: move server-side plugins to ipaserver 2016-06-03 09:00:34 +02:00
test_permission_plugin.py Remove "Request Certificate with SubjectAltName" permission 2016-12-21 17:04:18 +01:00
test_ping_plugin.py ipalib: move server-side plugins to ipaserver 2016-06-03 09:00:34 +02:00
test_privilege_plugin.py Removed objectclass from LDAP*ReverseMember based tests 2016-08-10 13:53:55 +02:00
test_pwpolicy_plugin.py Remove unused variables in tests 2016-09-27 13:35:58 +02: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 ipatests: Move trust mock helper functions to a separate module 2016-07-29 09:04:42 +02:00
test_realmdomains_plugin.py ipalib: move server-side plugins to ipaserver 2016-06-03 09:00:34 +02:00
test_replace.py Refactor test_replace 2016-01-26 19:03:15 +01:00
test_role_plugin.py The LDAP*ReverseMember shouldn't imply --all is always specified 2016-06-29 10:44:30 +02:00
test_selfservice_plugin.py ipalib: move server-side plugins to ipaserver 2016-06-03 09:00:34 +02:00
test_selinuxusermap_plugin.py Unify display of principal names/aliases across entities 2016-07-01 09:37:25 +02:00
test_service_plugin.py Add SHA256 fingerprints for certs 2017-03-07 19:52:43 +01:00
test_servicedelegation_plugin.py ipalib: move server-side plugins to ipaserver 2016-06-03 09:00:34 +02:00
test_stageuser_plugin.py Stage User: Test to create stage user with minimal values 2017-01-19 17:36:46 +01:00
test_sudocmd_plugin.py ipalib: move server-side plugins to ipaserver 2016-06-03 09:00:34 +02:00
test_sudocmdgroup_plugin.py ipalib: move server-side plugins to ipaserver 2016-06-03 09:00:34 +02:00
test_sudorule_plugin.py Pylint: enable check for unused-variables 2016-09-27 13:35:58 +02:00
test_trust_plugin.py Tests: Add missing attributes to test_xmlrpc/test_trust tests 2016-08-31 15:05:41 +02:00
test_user_plugin.py Tests: search for disabled users 2017-02-17 10:07:46 +01:00
test_vault_plugin.py ipalib: move server-side plugins to ipaserver 2016-06-03 09:00:34 +02:00
testcert.py Moving ipaCert from HTTPD_ALIAS_DIR 2017-03-01 09:43:41 +00:00
xmlrpc_test.py Add options to write lightweight CA cert or chain to file 2016-12-12 13:03:15 +01:00