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 <mbabinsk@redhat.com>
This commit is contained in:
Lenka Doudova 2016-09-09 11:24:01 +02:00 committed by Martin Babinsky
parent b824013386
commit 8c6f677a16

View File

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