From 774e4e479db637840cc2441778b5486d4c3b91d3 Mon Sep 17 00:00:00 2001 From: Lenka Doudova Date: Tue, 23 Aug 2016 16:20:34 +0200 Subject: [PATCH] Tests: Failing test_ipaserver/test_ldap test Plugins are being imported in the test_ldap/test_Backend test, which is no longer valid due to changes made during thin client implementation. Plugins are imported automatically and explicit imports make tests fail because of the duplicity. https://fedorahosted.org/freeipa/ticket/6194 Reviewed-By: Martin Basti --- ipatests/test_ipaserver/test_ldap.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ipatests/test_ipaserver/test_ldap.py b/ipatests/test_ipaserver/test_ldap.py index 816f12fc5..a92c50374 100644 --- a/ipatests/test_ipaserver/test_ldap.py +++ b/ipatests/test_ipaserver/test_ldap.py @@ -35,8 +35,6 @@ import nss.nss as nss import six from ipaserver.plugins.ldap2 import ldap2 -from ipaserver.plugins.service import service, service_show -from ipaserver.plugins.host import host from ipalib import api, x509, create_api, errors from ipapython import ipautil from ipaplatform.paths import paths @@ -118,10 +116,6 @@ class test_ldap(object): # we need for the test. myapi = create_api(mode=None) myapi.bootstrap(context='cli', in_server=True, in_tree=True) - myapi.add_plugin(ldap2) - myapi.add_plugin(host) - myapi.add_plugin(service) - myapi.add_plugin(service_show) myapi.finalize() pwfile = api.env.dot_ipa + os.sep + ".dmpw"