summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-01-17 08:07:06 -0500
committerMartin Kosek <mkosek@redhat.com>2013-03-01 16:59:42 +0100
commit49a0e3ac01e3abef2be324bc3689d1296762265a (patch)
tree5cc741903a7de52dc6cae641e6d7ebcc183536a0 /tests
parenta8c0bf0c85e5cc73a4d7035fdcf1386600911a9a (diff)
downloadfreeipa-49a0e3ac01e3abef2be324bc3689d1296762265a.tar.gz
freeipa-49a0e3ac01e3abef2be324bc3689d1296762265a.tar.xz
freeipa-49a0e3ac01e3abef2be324bc3689d1296762265a.zip
Move LDAPEntry to ipaserver.ipaldap and derive Entry from it
Legacy Entry methods such as setValue are added to LDAPEntry directly, so that we can use connection classes that return LDAPEntry with code that expects Entries. The Entry and its unique __init__ are still kept for compatibility. Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
Diffstat (limited to 'tests')
-rw-r--r--tests/test_ipaserver/test_ldap.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_ipaserver/test_ldap.py b/tests/test_ipaserver/test_ldap.py
index 872d69f01..06d5d4ecc 100644
--- a/tests/test_ipaserver/test_ldap.py
+++ b/tests/test_ipaserver/test_ldap.py
@@ -27,7 +27,8 @@
import nose
import os
-from ipaserver.plugins.ldap2 import ldap2, LDAPEntry
+from ipaserver.plugins.ldap2 import ldap2
+from ipaserver.ipaldap import LDAPEntry
from ipalib.plugins.service import service, service_show
from ipalib.plugins.host import host
import nss.nss as nss