@@ -0,0 +1,601 @@
+import sys%0Afrom ldapobject import LDAPObject%0A%0Adef initialize(uri,trace_level=0,trace_file=sys.stdout,trace_stack_limit=None):%0A  %22%22%22%0A  Return LDAPObject instance by opening LDAP connection to%0A  LDAP host specified by LDAP URL%0A%0A  Parameters:%0A  uri%0A        LDAP URL containing at least connection scheme and hostport,%0A        e.g. ldap://localhost:389%0A  trace_level%0A        If non-zero a trace output of LDAP calls is generated.%0A  trace_file%0A        File object where to write the trace output to.%0A        Default is to use stdout.%0A  %22%22%22%0A  return LDAPObject(uri,trace_level,trace_file,trace_stack_limit)%0A

Add mockldap.ldap.functions taken from python-ldap