fix test_group_to_dict

This commit is contained in:
Max Erenberg 2021-08-19 00:05:44 +00:00
parent df5d9e5f14
commit 5bda74eaf9
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -261,6 +261,7 @@ def simple_group():
return Group(
cn='group1',
gid_number=21000,
user_cn='Group One',
)