diff --git a/Tests/t_ldap_syncrepl.py b/Tests/t_ldap_syncrepl.py index 8c4eb344..71f240c1 100644 --- a/Tests/t_ldap_syncrepl.py +++ b/Tests/t_ldap_syncrepl.py @@ -132,8 +132,7 @@ class SyncreplClient(SimpleLDAPObject, SyncreplConsumer): search, it can't be used for anything else. """ - def __init__(self, uri, dn, password, storage=None, filterstr=None, - **kwargs): + def __init__(self, uri, dn, password, storage=None, **kwargs): """ Set up our object by creating a search client, connecting, and binding. """ @@ -152,7 +151,6 @@ def __init__(self, uri, dn, password, storage=None, filterstr=None, self.data['cookie'] = None self.present = [] self.refresh_done = False - self.filterstr = filterstr SimpleLDAPObject.__init__(self, uri, **kwargs) self.simple_bind_s(dn, password) @@ -175,7 +173,6 @@ def search(self, search_base, search_mode): search_base, ldap.SCOPE_SUBTREE, mode=search_mode, - filterstr=self.filterstr ) def cancel(self): @@ -431,7 +428,6 @@ def setUp(self): self.server.ldap_uri, self.server.root_dn, self.server.root_pw, - filterstr=u'(objectClass=*)', bytes_mode=False ) self.suffix = self.server.suffix @@ -445,7 +441,6 @@ def setUp(self): self.server.ldap_uri, self.server.root_dn.encode('utf-8'), self.server.root_pw.encode('utf-8'), - filterstr=b'(objectClass=*)', bytes_mode=True ) self.suffix = self.server.suffix.encode('utf-8') pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy