fixup! Minor fixes

This commit is contained in:
sfigato 2022-01-26 16:20:30 +01:00
parent c0d835d8d1
commit d6aac65bba
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
2 changed files with 1 additions and 2 deletions

View File

@ -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",

View File

@ -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