From 63a5feb19f60e46d3ba22ea2d3231eff88002f2a Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Fri, 27 Apr 2018 16:49:50 +0200 Subject: [PATCH] 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 --- ipatests/test_integration/test_authselect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipatests/test_integration/test_authselect.py b/ipatests/test_integration/test_authselect.py index e713f8728..7d096027d 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): """