Patch attached.

Following test should pass:
ipa-run-tests test_integration/test_testconfig.py --verbose


From 60357332fc24c90e61bfad7b8d05bd8411d37fe3 Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
Date: Fri, 13 Nov 2015 19:04:41 +0100
Subject: [PATCH] Fix CI tests domain_level env config

---
 ipatests/test_integration/env_config.py      | 2 ++
 ipatests/test_integration/test_testconfig.py | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ipatests/test_integration/env_config.py b/ipatests/test_integration/env_config.py
index 96062bef30ec067faa644dc060af8531f5e899c9..3596b6fd45342eaa45b03419e1ea1eca70c17f33 100644
--- a/ipatests/test_integration/env_config.py
+++ b/ipatests/test_integration/env_config.py
@@ -32,6 +32,7 @@ import six
 
 from ipapython import ipautil
 from ipatests.test_integration.config import Config, Domain
+from ipalib.constants import MAX_DOMAIN_LEVEL
 
 TESTHOST_PREFIX = 'TESTHOST_'
 
@@ -61,6 +62,7 @@ _setting_infos = (
 
     _SettingInfo('ipv6', 'IPv6SETUP', False),
     _SettingInfo('debug', 'IPADEBUG', False),
+    _SettingInfo('domain_level', 'DOMAINLVL', MAX_DOMAIN_LEVEL),
 )
 
 
diff --git a/ipatests/test_integration/test_testconfig.py b/ipatests/test_integration/test_testconfig.py
index 5c40522ed6bf0e4715e3b7ad160fbf7fbfdca9bc..3b08bf2173f31fb0bf8b4f6dc38f3508f5aa47f8 100644
--- a/ipatests/test_integration/test_testconfig.py
+++ b/ipatests/test_integration/test_testconfig.py
@@ -59,7 +59,7 @@ DEFAULT_OUTPUT_ENV = {
     "ADADMINPW": "Secret123",
     "IPv6SETUP": "",
     "IPADEBUG": "",
-    "DOMAINLVL": MAX_DOMAIN_LEVEL
+    "DOMAINLVL": str(MAX_DOMAIN_LEVEL),
 }
 
 DEFAULT_INPUT_ENV = {
-- 
2.4.3

-- 
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