From 0670721ae34f50b93befd4d59737a8991f33c6f7 Mon Sep 17 00:00:00 2001 From: Lenka Doudova Date: Fri, 9 Sep 2016 11:24:01 +0200 Subject: [PATCH] Tests: Fix failing ldap.backend test Test ipatests/test_ipaserver/test_ldap::test_Backend fails claiming service cannot be found. Fixing this by not using api with in_tree parameter. https://fedorahosted.org/freeipa/ticket/6312 Reviewed-By: Martin Babinsky --- ipatests/test_ipaserver/test_ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipatests/test_ipaserver/test_ldap.py b/ipatests/test_ipaserver/test_ldap.py index a92c50374..9616913d1 100644 --- a/ipatests/test_ipaserver/test_ldap.py +++ b/ipatests/test_ipaserver/test_ldap.py @@ -115,7 +115,7 @@ class test_ldap(object): # a client-only api. Then we register in the commands and objects # we need for the test. myapi = create_api(mode=None) - myapi.bootstrap(context='cli', in_server=True, in_tree=True) + myapi.bootstrap(context='cli', in_server=True) myapi.finalize() pwfile = api.env.dot_ipa + os.sep + ".dmpw"