From 106f37c26f64492f771214409d229feb5d70a113 Mon Sep 17 00:00:00 2001 From: Oleg Fayans Date: Wed, 21 Sep 2016 13:13:44 +0200 Subject: [PATCH] tests: Standardized replica_preparation in test_no_certs Reviewed-By: David Kupka --- ipatests/test_integration/test_caless.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ipatests/test_integration/test_caless.py b/ipatests/test_integration/test_caless.py index 73a111f87..95446f972 100644 --- a/ipatests/test_integration/test_caless.py +++ b/ipatests/test_integration/test_caless.py @@ -774,10 +774,8 @@ class TestReplicaInstall(CALessBase): @replica_install_teardown def test_no_certs(self): "IPA replica install without certificates" - - result = self.master.run_command(['ipa-replica-prepare', - self.replicas[0].hostname], - raiseonerr=False) + result = self.prepare_replica(http_pkcs12_exists=False, + dirsrv_pkcs12_exists=False) assert_error(result, "Cannot issue certificates: a CA is not " "installed. Use the --http-cert-file, " "--dirsrv-cert-file options to provide "