summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Vagelpohl <jens@netz.ooo>2005-09-20 13:15:57 +0000
committerJens Vagelpohl <jens@netz.ooo>2005-09-20 13:15:57 +0000
commit3af08a1ea30a5abe625f7ce20b05c2d732f8f2df (patch)
treef0254a3ce005effa80d685cd7b1c14b6e63223b4
parent33dee1569e464fa7bccc5ccb6666ba1429bfc388 (diff)
downloadCMFLDAP-3af08a1ea30a5abe625f7ce20b05c2d732f8f2df.zip
CMFLDAP-3af08a1ea30a5abe625f7ce20b05c2d732f8f2df.tar.gz
- extension
-rw-r--r--tests/base/dummy.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/base/dummy.py b/tests/base/dummy.py
index 49ab5ba..b9b5927 100644
--- a/tests/base/dummy.py
+++ b/tests/base/dummy.py
@@ -137,6 +137,10 @@ class LDAPDummyUserFolder(DummyUserFolder):
def getSchemaConfig(self):
return self._schema
+ def getLDAPSchema(self):
+ return [(x['ldap_name'], x['friendly_name'])
+ for x in self.getSchemaConfig().values()]
+
def _expireUser(self, user_ob):
pass