diff --git a/ipatests/test_integration/test_acme.py b/ipatests/test_integration/test_acme.py index 10195a95f..a30f2fc75 100644 --- a/ipatests/test_integration/test_acme.py +++ b/ipatests/test_integration/test_acme.py @@ -585,7 +585,7 @@ class TestACMERenew(IntegrationTest): # Note raiseonerr=False: # the assert is located after kdcinfo retrieval. result = host.run_command( - "KRB5_TRACE=/dev/stdout kinit %s" % 'admin', + "KRB5_TRACE=/dev/stdout kinit admin", stdin_text='{0}\n{0}\n{0}\n'.format( self.clients[0].config.admin_password ), @@ -619,8 +619,6 @@ class TestACMERenew(IntegrationTest): cert = x509.load_pem_x509_certificate(data, backend=default_backend()) initial_expiry = cert.not_valid_after - tasks.kinit_admin(self.clients[0]) - self.clients[0].run_command(['certbot', 'renew']) data = self.clients[0].get_file_contents(