freeipa/ipatests/test_integration
Stanislav Levin b2acd65013 Make use of single configuration point for SELinux
For now, FreeIPA supports SELinux things as they are in RedHat/Fedora.
But different distributions may have their own SELinux customizations.

This moves SELinux configuration out to platform constants:
- SELINUX_MCS_MAX
- SELINUX_MCS_REGEX
- SELINUX_MLS_MAX
- SELINUX_MLS_REGEX
- SELINUX_USER_REGEX
- SELINUX_USERMAP_DEFAULT
- SELINUX_USERMAP_ORDER

and applies corresponding changes to the test code.

Fixes: https://pagure.io/freeipa/issue/7996
Signed-off-by: Stanislav Levin <slev@altlinux.org>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-07-01 14:44:57 +03:00
..
__init__.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
base.py ipatests: adapt test_trust.py for changes in multihost fixture 2019-04-01 10:24:46 -04: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_automember.py Tests for autounmembership feature 2019-06-06 16:51:55 +02:00
test_backup_and_restore.py ipatests: fix test_backup_and_restore.py::TestBackupAndRestore 2019-06-11 15:40:58 -04:00
test_caless.py ipatests: fix test_caless.py 2019-06-10 12:02:17 +02:00
test_commands.py Replace imports from ipaserver 2019-05-16 13:20:38 +02: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 Use Network Manager to configure resolv.conf 2019-04-16 10:45:59 +02:00
test_external_ca.py add test for external CA key size sanity check 2019-05-28 10:04:30 +03: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 Test if ipactl restart restarts the pki-tomcatd 2019-05-28 09:43:40 +02:00
test_kerberos_flags.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_legacy_clients.py Make use of the single configuration point for the default shells 2019-06-19 11:39:51 +02:00
test_netgroup.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_nfs.py ipatests: add proper timeouts to nfs.py 2019-06-26 12:55:06 +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_pki_config_override.py Fix and extend pki config override test 2019-04-24 17:08:24 +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 Fix unnecessary usrmerge assumptions 2019-04-17 13:56:05 +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 ipatests: add integration test for ipa-replica-manage list 2019-05-28 15:02:49 -04:00
test_smb.py ipa-client-samba: a tool to configure Samba domain member on IPA client 2019-06-29 11:00:28 +03:00
test_sudo.py Fix unnecessary usrmerge assumptions 2019-04-17 13:56:05 +02: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: POSIX attributes are no longer overwritten or missing 2019-06-28 14:26:20 +02:00
test_uninstallation.py Replace imports from ipaserver 2019-05-16 13:20:38 +02:00
test_upgrade.py ipatests: fix TestUpgrade::test_double_encoded_cacert 2018-12-05 11:09:23 +01:00
test_user_permissions.py ipatests: fix TestUserPermissions::test_selinux_user_optimized 2019-06-13 23:24:01 +02:00
test_vault.py Add a shared-vault-retrieve test 2018-11-21 15:41:00 +01:00
test_winsyncmigrate.py Make use of single configuration point for SELinux 2019-07-01 14:44:57 +03:00