summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration
diff options
context:
space:
mode:
authorOleg Fayans <ofayans@redhat.com>2016-09-21 13:13:44 +0200
committerDavid Kupka <dkupka@redhat.com>2016-09-22 15:20:42 +0200
commit106f37c26f64492f771214409d229feb5d70a113 (patch)
treeba0bb3ac722b9c1995cf7f78b06c1e54fb1b1870 /ipatests/test_integration
parentb8968d923cedbbeb931c3ed33b81b299a55baf4a (diff)
downloadfreeipa-106f37c26f64492f771214409d229feb5d70a113.tar.gz
freeipa-106f37c26f64492f771214409d229feb5d70a113.tar.xz
freeipa-106f37c26f64492f771214409d229feb5d70a113.zip
tests: Standardized replica_preparation in test_no_certs
Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipatests/test_integration')
-rw-r--r--ipatests/test_integration/test_caless.py6
1 files 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 "