fixup! Minor fixes
This commit is contained in:
parent
c0d835d8d1
commit
d6aac65bba
|
@ -137,7 +137,6 @@ async def test_User_describe():
|
|||
res = await u.describe()
|
||||
|
||||
assert res == {
|
||||
"ou": "Hackers",
|
||||
"uid": "achilles",
|
||||
"cn": "Achilles",
|
||||
"sn": "achilles",
|
||||
|
|
|
@ -35,7 +35,7 @@ class User(mixins.Member, mixins.Entry, mixins.Singleton):
|
|||
_instances = dict() # type: ignore
|
||||
id_tag = "uid"
|
||||
ou = "Hackers"
|
||||
ldap_attributes = ["uid", "ou", "cn", "sn", "mail", "userPassword"]
|
||||
ldap_attributes = ["uid", "cn", "sn", "mail", "userPassword"]
|
||||
|
||||
async def iter_groups(self): # To be monkeypatched later
|
||||
pass # pragma: no cover
|
||||
|
|
Loading…
Reference in New Issue
Block a user