add shadowExpire to api test member assert thing
This commit is contained in:
parent
73a085f971
commit
8f4b2560b4
|
@ -68,6 +68,7 @@ def test_api_create_user(cfg, create_user_resp, mock_mail_server):
|
|||
"mail_local_addresses": ["test_1@csclub.internal"],
|
||||
"forwarding_addresses": ['test_1@uwaterloo.internal'],
|
||||
"password": "krb5"
|
||||
"shadowExpire": False,
|
||||
}},
|
||||
]
|
||||
assert data == expected
|
||||
|
|
|
@ -171,6 +171,7 @@ def test_user_to_dict(cfg):
|
|||
'home_directory': user.home_directory,
|
||||
'is_club': False,
|
||||
'is_club_rep': False,
|
||||
'shadowExpire': False,
|
||||
}
|
||||
assert user.to_dict() == expected
|
||||
|
||||
|
|
Loading…
Reference in New Issue