freeipa/ipatests/test_integration
Sergey Orlov 35a4642ad0 ipatests: allow AD hosts to be placed in separate domain config objects
Tests for AD trust can use three types (roles) of AD machines:
forest root, subdomain and tree domain.
All those machines were placed in one domain object of multihost configuration,
though they all have different domain names.
This is bad as we can not use domain attributes provided by multihost plugin
like host.domain.name and host.domain.basedn and others and need to reimplement
them, evaluating domain name from host.hostname.
And if we accidently used those properties it would lead to difficult to locate
errors (we would use same domain name for all AD hosts).
I modified multihost fixture function mh() to allow creating several AD domains.
As multihost plugin does not support requesting multiple domains with the same type,
I had to introduce new domain types: AD_SUBDOMAIN and AD_TREEDOMAIN.
Also there was a error in mh() which forced user to provide all three AD
machines when only one was needed (value from test class property num_ad_domains
was applied to subdomains and treedomains requirement).
I changed this behavior and now additional AD machines are specified with
properties num_ad_subdomains and num_ad_treedomains.

Related to https://pagure.io/freeipa/issue/7889

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-04-01 10:24:46 -04:00
..
__init__.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
base.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_advise.py Test smart card advise scripts 2018-12-11 13:46:52 +01:00
test_authselect.py Remove unused tests 2019-01-17 14:36:27 +01:00
test_automount_locations.py ipatests: add a test for ipa-client-automount 2018-12-14 10:15:04 +01:00
test_backup_and_restore.py Add ldapmodify/search helper functions 2019-02-05 08:39:13 -05:00
test_caless.py Remove obsolete tests from test_caless.py 2019-01-29 14:42:13 -05:00
test_commands.py ipatests: fix host name for ssh connection from controller to master 2019-03-05 09:25:25 +01:00
test_crlgen_manage.py Test: add new tests for ipa-crlgen-manage 2019-03-14 09:39:55 +01:00
test_customized_ds_config_install.py Speed up test_customized_ds_config_install 2018-11-08 17:46:38 +01:00
test_dns_locations.py Py3: Replace six.text_type with str 2018-09-27 16:11:18 +02:00
test_dnssec.py ipatests/test_integration/test_dnssec.py: Enable dns firewall service 2018-12-03 11:26:08 +01:00
test_external_ca.py Test --external-ca-type=ms-cs 2019-02-11 18:06:25 +01:00
test_forced_client_reenrollment.py ipatests/test_integration/test_forced_client_reenrollment.py: Use unshare 2018-12-03 11:26:08 +01:00
test_http_kdc_proxy.py ipatests/test_integration/test_http_kdc_proxy.py: Use new firewall import 2018-12-03 11:26:08 +01:00
test_idviews.py Add integration tests for idviews 2018-12-07 11:39:23 +01:00
test_installation.py ipatests: add too-restritive mask tests 2019-03-13 16:09:24 +01:00
test_kerberos_flags.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_legacy_clients.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_netgroup.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_ntp_options.py Fix test_ntp_options to use tasks' methods 2019-03-29 18:56:40 +01:00
test_ordering.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
test_pkinit_manage.py test: add non-reg test checking pkinit after server install 2019-02-20 09:18:38 +01:00
test_replica_promotion.py Disable flaky hidden replica backup test 2019-04-01 16:10:59 +02:00
test_replication_layouts.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_server_del.py ipatests/test_integration/test_server_del.py: Enable dns in fw for dnssec 2018-12-07 17:29:59 +01:00
test_service_permissions.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_simple_replication.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_sudo.py ipatests: add test for ipa-advise for enabling sudo for admins group 2018-11-07 13:48:54 +01:00
test_testconfig.py ipatests: allow AD hosts to be placed in separate domain config objects 2019-04-01 10:24:46 -04:00
test_topologies.py Fix comparison-with-callable 2018-11-13 13:37:58 +01:00
test_topology.py tests: fix failure in test_topology_TestTopologyOptions:test_add_remove_segment 2019-02-19 14:51:56 +01:00
test_trust.py ipatests: fix expectations of ipa trust-find output for trust with root domain 2019-04-01 10:24:46 -04:00
test_uninstallation.py Tests: fix option name for dsctl 2019-02-06 13:13:46 -05:00
test_upgrade.py ipatests: fix TestUpgrade::test_double_encoded_cacert 2018-12-05 11:09:23 +01:00
test_user_permissions.py ipatests: remove all occurrences of osinfo.version_id 2019-03-01 08:38:11 +01:00
test_vault.py Add a shared-vault-retrieve test 2018-11-21 15:41:00 +01:00