fix test_group_to_dict
This commit is contained in:
parent
df5d9e5f14
commit
5bda74eaf9
|
@ -43,7 +43,8 @@ def test_group_to_dict(simple_group):
|
|||
|
||||
expected = {
|
||||
'cn': group.cn,
|
||||
'description': group.user_cn,
|
||||
'gid_number': group.gid_number,
|
||||
'members': group.members,
|
||||
'members': [],
|
||||
}
|
||||
assert group.to_dict() == expected
|
||||
|
|
|
@ -261,6 +261,7 @@ def simple_group():
|
|||
return Group(
|
||||
cn='group1',
|
||||
gid_number=21000,
|
||||
user_cn='Group One',
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue