From 49cc72d5c91ef281bf6556a8d685bccd8ef1761b Mon Sep 17 00:00:00 2001 From: Sergey Orlov Date: Wed, 16 Jan 2019 17:04:45 +0100 Subject: [PATCH] Remove unused tests Two tests in test_intgration/test_authselect.py were marked as skipped in c5cdd5a5f0 due to removing of --no-sssd and --no-ac options. Tests are not needed any more. Fixes: https://pagure.io/freeipa/issue/7841 Signed-off-by: Sergey Orlov Reviewed-By: Christian Heimes --- ipatests/test_integration/test_authselect.py | 22 -------------------- 1 file changed, 22 deletions(-) diff --git a/ipatests/test_integration/test_authselect.py b/ipatests/test_integration/test_authselect.py index 5ce56fa21..bdf7d9f77 100644 --- a/ipatests/test_integration/test_authselect.py +++ b/ipatests/test_integration/test_authselect.py @@ -89,28 +89,6 @@ class TestClientInstallation(IntegrationTest): ['ipa-client-install', '--uninstall', '-U'], raiseonerr=False) - @pytest.mark.skip(reason="Option --no-sssd has been removed") - def test_install_client_no_sssd(self): - """ - Test client installation with --no-sssd option. - This must be rejected as this option is incompatible with authselect. - """ - result = self._install_client(extraargs=['--no-sssd']) - assert result.returncode == 1 - msg = "Option '--no-sssd' is incompatible with the 'authselect' tool" - assert msg in result.stderr_text - - @pytest.mark.skip(reason="Option --noac has been removed") - def test_install_client_no_ac(self): - """ - Test client installation with --noac option. - This must be rejected as this option is incompatible with authselect. - """ - result = self._install_client(extraargs=['--noac']) - assert result.returncode == 1 - msg = "Option '--noac' is incompatible with the 'authselect' tool" - assert msg in result.stderr_text - def test_install_client_no_preconfigured_profile(self): """ Test client installation on an upgraded system.