File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed
Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change 1- { "engineHash" : " ef00939 " , "specHash" : " 06fc5f7 " , "version" : " 1.12.0" }
1+ { "engineHash" : " 8f5e41b " , "specHash" : " 6782a0d " , "version" : " 1.12.0" }
Original file line number Diff line number Diff line change 66
77from box_sdk_gen .schemas .user_full import UserFull
88
9- from box_sdk_gen .managers .users import UpdateUserByIdNotificationEmail
10-
119from box_sdk_gen .internal .utils import get_uuid
1210
1311from box_sdk_gen .internal .utils import create_null
@@ -42,20 +40,3 @@ def test_create_update_get_delete_user():
4240 )
4341 assert updated_user .name == updated_user_name
4442 client .users .delete_user_by_id (user .id )
45-
46-
47- def test_user_notification_email ():
48- user_name : str = get_uuid ()
49- user_login : str = '' .join ([get_uuid (), '@gmail.com' ])
50- user : UserFull = client .users .create_user (
51- user_name , login = user_login , is_platform_access_only = True
52- )
53- updated_with_notification_email : UserFull = client .users .update_user_by_id (
54- user .id , notification_email = UpdateUserByIdNotificationEmail (email = user_login )
55- )
56- assert not updated_with_notification_email .notification_email == None
57- updated_without_notification_email : UserFull = client .users .update_user_by_id (
58- user .id , notification_email = create_null ()
59- )
60- assert updated_without_notification_email .notification_email == None
61- client .users .delete_user_by_id (user .id )
You can’t perform that action at this time.
0 commit comments