remove debugging statement

This commit is contained in:
Benjamin Dauvergne 2016-03-23 16:14:34 +01:00
parent 245f8b01ff
commit 957d55d3aa
2 changed files with 5 additions and 1 deletions

View File

@ -24,7 +24,6 @@ class LDAPSource(object):
if not dn:
continue
entry = idict(entry)
print dn, entry
if 'objectclass' in entry:
entry['objectclass'] = [istr(v) for v in entry['objectclass']]
yield dn, entry

View File

@ -25,3 +25,8 @@ sn: n
slapd.start()
conn = slapd.get_connection()
assert len(conn.search_s('o=orga', ldap.SCOPE_SUBTREE)) == 1
def test_ensad(slapd):
slapd.add_db('dc=mines-paristech,dc=fr')
slapd.add_ldif(file('/tmp/MINES-PARISTECH_1458314862.ldif').read())