tests: Standardized replica_preparation in test_no_certs

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Oleg Fayans
2016-09-22 15:20:42 +02:00
committed by David Kupka
parent b8968d923c
commit 106f37c26f
+2 -4
View File
@@ -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 "