ipatests: fix the install of external ca

Fixes the install invocation in the test to use domain and
realm correctly. Also makes the test aware of domain levels.

https://fedorahosted.org/freeipa/ticket/5605

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
Milan Kubík
2016-01-27 13:14:51 +01:00
committed by Martin Basti
parent 9a945b201e
commit 8f6fb7b4ea
@@ -33,7 +33,9 @@ class TestExternalCA(IntegrationTest):
'-a', self.master.config.admin_password, '-a', self.master.config.admin_password,
'-p', self.master.config.dirman_password, '-p', self.master.config.dirman_password,
'--setup-dns', '--no-forwarders', '--setup-dns', '--no-forwarders',
'-r', self.master.domain.name, '-n', self.master.domain.name,
'-r', self.master.domain.realm,
'--domain-level=%i' % self.master.config.domain_level,
'--external-ca' '--external-ca'
]) ])