From 5444da016edc416c0c9481c660c013053dbb93b5 Mon Sep 17 00:00:00 2001 From: Mohammad Rizwan Date: Thu, 18 Nov 2021 18:43:22 +0530 Subject: [PATCH] PEP8 Fixes Signed-off-by: Mohammad Rizwan --- .../test_integration/test_replica_promotion.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ipatests/test_integration/test_replica_promotion.py b/ipatests/test_integration/test_replica_promotion.py index 1a4e9bc121abf41a3919aedda3d334de9404d1a0..c328b1a08ffc8ac5efb0986d2b18c5074f573432 100644 --- a/ipatests/test_integration/test_replica_promotion.py +++ b/ipatests/test_integration/test_replica_promotion.py @@ -138,7 +138,6 @@ class TestReplicaPromotionLevel1(ReplicaPromotionBase): assert res.returncode == 1 assert expected_err in res.stderr_text - @replicas_cleanup def test_one_command_installation(self): """ @@ -150,11 +149,11 @@ class TestReplicaPromotionLevel1(ReplicaPromotionBase): Firewall(self.replicas[0]).enable_services(["freeipa-ldap", "freeipa-ldaps"]) self.replicas[0].run_command(['ipa-replica-install', '-w', - self.master.config.admin_password, - '-n', self.master.domain.name, - '-r', self.master.domain.realm, - '--server', self.master.hostname, - '-U']) + self.master.config.admin_password, + '-n', self.master.domain.name, + '-r', self.master.domain.realm, + '--server', self.master.hostname, + '-U']) # Ensure that pkinit is properly configured, test for 7566 result = self.replicas[0].run_command(['ipa-pkinit-manage', 'status']) assert "PKINIT is enabled" in result.stdout_text @@ -321,7 +320,7 @@ class TestWrongClientDomain(IntegrationTest): result1 = client.run_command(['ipa-replica-install', '-U', '-w', self.master.config.dirman_password], raiseonerr=False) - assert(result1.returncode == 0), ( + assert (result1.returncode == 0), ( 'Failed to promote the client installed with the upcase domain name') def test_client_rollback(self): @@ -355,6 +354,7 @@ class TestWrongClientDomain(IntegrationTest): assert("An error occurred while removing SSSD" not in result.stdout_text) + class TestRenewalMaster(IntegrationTest): topology = 'star' -- 2.34.1