freeipa/ipatests/test_integration
Rob Crittenden c84b1db809 ipatests: Test that healthcheck detects and reports expiration
Set the date forward to while the certificates are still valid and
run healthcheck to confirm that an appropriate warning is made.

This validates two separate checks, one that relies on certmonger
to report expiration and one that relies on the data on disk to
determine expiration in case certmonger is out-of-date for some
reason (belt and suspenders).

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2020-07-30 18:15:05 +02:00
..
__init__.py Add marker needs_ipaapi and option to skip tests 2017-12-11 20:40:06 +01:00
base.py lint: Make Pylint-2.4 happy again 2020-02-12 18:08:32 +02:00
test_acme.py acme: enable mod_md tests on Fedora 2020-07-10 08:33:22 -04:00
test_adtrust_install.py ipatests: display SSSD kdcinfo in test_adtrust_install.py 2020-07-01 12:05:14 +02:00
test_advise.py pylint: Synchronize pylint plugin to ipatests code 2020-02-12 18:08:32 +02:00
test_authselect.py ipatests: fix test_authselect 2020-07-30 13:10:39 +02:00
test_automember.py Tests for autounmembership feature 2019-06-06 16:51:55 +02:00
test_backup_and_restore.py ipatests: Remove deprecated yield_fixture 2020-04-21 13:24:50 +02:00
test_ca_custom_sdn.py test_integration: add tests for custom CA subject DN 2019-10-17 08:17:46 +02:00
test_caless.py ipatests: add a test for ipa-replica-install --setup-ca --http-cert-file 2020-06-12 08:34:51 +02:00
test_cert.py ipatests: Increase timeout value in test_getcert_list_profile_using_subca 2020-07-17 16:46:01 +02:00
test_cli_ipa_not_configured.py ipatests: Test for ipa-backup with ipa not configured 2019-08-27 12:04:45 +02:00
test_commands.py ipatests: test_commands: test_login_wrong_password: Paramiko=>OpenSSH 2020-07-29 13:53:52 +02:00
test_crlgen_manage.py ipatests: fix test_crlgen_manage 2019-11-29 11:17:13 +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 Fix div-by-zero when svc weight is 0 for all masters in location 2020-02-26 13:42:10 -05:00
test_dnssec.py ipatests: fix TestMigrateDNSSECMaster teardown 2019-12-05 17:48:42 +01:00
test_epn.py ipatests: test_epn: test_EPN_config_file: Package name fix 2020-07-15 14:47:12 +02:00
test_external_ca.py Removes several pylint warnings. 2019-09-27 09:38:32 +02:00
test_fips.py Test installation with (fake) userspace FIPS 2019-11-14 16:01:15 +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 ipatests: fix the method adding ifp to sssd.conf 2020-06-24 17:22:24 -04:00
test_installation_client.py Test for check of HostKeyAlgorithms option in ssh_config 2020-04-27 09:09:10 -04:00
test_installation.py Prevent local account takeover 2020-06-15 22:44:42 +03:00
test_ipahealthcheck.py ipatests: Test that healthcheck detects and reports expiration 2020-07-30 18:15:05 +02:00
test_kerberos_flags.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_krbtpolicy.py Add integration test for otp kerberos ticket policy. 2019-12-20 16:29:30 +02:00
test_legacy_clients.py pytest: Migrate unittest/nose to Pytest fixtures 2020-02-12 18:08:32 +02:00
test_membermanager.py Show group-add/remove-member-manager failures 2019-11-20 17:08:40 +01:00
test_netgroup.py Rename pytest_plugins to ipatests.pytest_ipa 2018-08-02 17:07:43 +02:00
test_nfs.py ipatests: remove the xfail for test_nfs.py 2020-07-30 13:10:39 +02:00
test_ntp_options.py pytest: Migrate xunit-style setups to Pytest fixtures 2020-02-12 18:08:32 +02:00
test_otp.py ipatests: test_otp: convert test_2fa_enable_single_prompt to run_ssh_cmd 2020-07-29 13:53:52 +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 ipatests: Fix TestReplicaPromotionLevel1 2020-07-27 15:58:15 -04: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 test_smb: test S4U2Self operation by IPA service 2020-05-27 17:57:39 +03:00
test_sssd.py ipatests: cleanup in test_subdomain_lookup_with_certmaprule_containing_dn 2020-07-06 15:33:53 +02:00
test_sudo.py Azure Pipelines: Override services known to not work in containers 2020-05-06 09:14:29 +02:00
test_testconfig.py Test installation with (fake) userspace FIPS 2019-11-14 16:01:15 +01:00
test_topologies.py Fix comparison-with-callable 2018-11-13 13:37:58 +01:00
test_topology.py Removes several pylint warnings. 2019-09-27 09:38:32 +02:00
test_trust.py ipatests: test that adding Active Directory user to a role makes it an administrator 2020-06-08 12:39:34 -04:00
test_uninstallation.py Replace imports from ipaserver 2019-05-16 13:20:38 +02:00
test_upgrade.py Prevent local account takeover 2020-06-15 22:44:42 +03:00
test_user_permissions.py ipatests: test_user_permissions: test_selinux_user_optimized Paramiko=>OpenSSH 2020-07-29 13:53:52 +02:00
test_vault.py Fix E266 too many leading '#' for block comment 2020-05-05 10:42:46 +02:00
test_winsyncmigrate.py pylint: Synchronize pylint plugin to ipatests code 2020-02-12 18:08:32 +02:00