From 63a5feb19f60e46d3ba22ea2d3231eff88002f2a Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: May 03 2018 14:39:58 +0000 Subject: authselect test: skip test if authselect is not available Currently, the test is skipped if the platform is fedora-like. The decision to skip should rather be based on authselect command availability (i.e. when ipaplatform.paths.paths.AUTHSELECT is None). Related to https://pagure.io/freeipa/issue/7377 Reviewed-By: Christian Heimes --- diff --git a/ipatests/test_integration/test_authselect.py b/ipatests/test_integration/test_authselect.py index e713f87..7d09602 100644 --- a/ipatests/test_integration/test_authselect.py +++ b/ipatests/test_integration/test_authselect.py @@ -172,7 +172,7 @@ class TestClientInstallation(IntegrationTest): @pytest.mark.skipif( - ipaplatform.NAME not in ['fedora', 'rhel', 'centos'], + ipaplatform.paths.paths.AUTHSELECT is None, reason="Authselect is only available in fedora-like distributions") class TestServerInstallation(IntegrationTest): """