From 1fc1947c4875595edf48000ef3a01d0ae9ffd3c1 Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Thu, 16 Jul 2020 18:21:09 +0200 Subject: [PATCH] ipatests: fix TestUnprivilegedUserPermissions A new test has been added to TestUnprivilegedUserPermissions that duplicates the steps done in the precedent test. As the tests are usually run sequentially, no need to duplicate. Fixes: https://pagure.io/freeipa/issue/8413 Reviewed-By: Mohammad Rizwan Reviewed-By: Rob Crittenden --- ipatests/test_integration/test_replica_promotion.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ipatests/test_integration/test_replica_promotion.py b/ipatests/test_integration/test_replica_promotion.py index 5774b2ab6..5b866df78 100644 --- a/ipatests/test_integration/test_replica_promotion.py +++ b/ipatests/test_integration/test_replica_promotion.py @@ -197,19 +197,6 @@ class TestUnprivilegedUserPermissions(IntegrationTest): '-U']) def test_sssd_config_allows_ipaapi_access_to_ifp(self): - self.master.run_command(['ipa', 'group-add-member', 'admins', - '--users=%s' % self.username]) - - # Configure firewall first - Firewall(self.replicas[0]).enable_services(["freeipa-ldap", - "freeipa-ldaps"]) - self.replicas[0].run_command(['ipa-replica-install', - '-P', self.username, - '-p', self.new_password, - '-n', self.master.domain.name, - '-r', self.master.domain.realm, - '-U']) - sssd_config_allows_ipaapi_access_to_ifp(self.replicas[0])