fix test on ldap backend

This commit is contained in:
kakwa 2015-05-26 22:51:29 +02:00
parent 91bc6bb18e
commit c093905015
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class TestError(object):
def testGetUser(self):
inv = Backend(cfg, cherrypy.log, 'ldap', attr)
ret = inv.get_user('jwatson')
expected = ('cn=John Watson,ou=People,dc=example,dc=org', {'uid': ['jwatson'], 'cn': ['John Watson'], 'sn': ['watson']})
expected = {'uid': 'jwatson', 'cn': 'John Watson', 'sn': 'watson'}
assert ret == expected
def testSearchUser(self):