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()
|
res = await u.describe()
|
||||||
|
|
||||||
assert res == {
|
assert res == {
|
||||||
"ou": "Hackers",
|
|
||||||
"uid": "achilles",
|
"uid": "achilles",
|
||||||
"cn": "Achilles",
|
"cn": "Achilles",
|
||||||
"sn": "achilles",
|
"sn": "achilles",
|
||||||
|
|
|
@ -35,7 +35,7 @@ class User(mixins.Member, mixins.Entry, mixins.Singleton):
|
||||||
_instances = dict() # type: ignore
|
_instances = dict() # type: ignore
|
||||||
id_tag = "uid"
|
id_tag = "uid"
|
||||||
ou = "Hackers"
|
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
|
async def iter_groups(self): # To be monkeypatched later
|
||||||
pass # pragma: no cover
|
pass # pragma: no cover
|
||||||
|
|
Loading…
Reference in New Issue
Block a user