On 01/19/2016 05:31 PM, Milan Kubík wrote:
Patch attached.



This actually has a ticket opened. Patch with fixed commit message. ;)

--
Milan Kubik

From d3e43f982d246a9d82807aeff1320e8c1af58e0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Milan=20Kub=C3=ADk?= <mku...@redhat.com>
Date: Tue, 19 Jan 2016 15:06:38 +0100
Subject: [PATCH] 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
---
 ipatests/test_integration/test_external_ca.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ipatests/test_integration/test_external_ca.py b/ipatests/test_integration/test_external_ca.py
index fbffdf14bd28d8b990d7a30746af172f67c5faa2..1228c9d6537fe542e7a0521b50a0a8f17112eab6 100644
--- a/ipatests/test_integration/test_external_ca.py
+++ b/ipatests/test_integration/test_external_ca.py
@@ -33,7 +33,9 @@ class TestExternalCA(IntegrationTest):
             '-a', self.master.config.admin_password,
             '-p', self.master.config.dirman_password,
             '--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'
         ])
 
-- 
2.7.0

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to