summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLenka Doudova <ldoudova@redhat.com>2016-08-23 16:20:34 +0200
committerMartin Basti <mbasti@redhat.com>2016-08-29 12:46:58 +0200
commit774e4e479db637840cc2441778b5486d4c3b91d3 (patch)
tree2e69325aa1b858be8d8751c960f330595d0c803b
parent3c32af55b646819fa8938d9a6efa6c3189525c37 (diff)
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 <mbasti@redhat.com>
-rw-r--r--ipatests/test_ipaserver/test_ldap.py6
1 files changed, 0 insertions, 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"