Skip to content

Commit 229f238

Browse files
test: Remove notification_email test because of business logic has changed (box/box-codegen#677) (#498)
1 parent 91ffc00 commit 229f238

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "ef00939", "specHash": "06fc5f7", "version": "1.12.0" }
1+
{ "engineHash": "8f5e41b", "specHash": "6782a0d", "version": "1.12.0" }

test/users.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
from box_sdk_gen.schemas.user_full import UserFull
88

9-
from box_sdk_gen.managers.users import UpdateUserByIdNotificationEmail
10-
119
from box_sdk_gen.internal.utils import get_uuid
1210

1311
from 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)

0 commit comments

Comments
 (0)