diff --git a/sdks/implementations/python/tests/test_models/test_teams.py b/sdks/implementations/python/tests/test_models/test_teams.py index e1c2ca5d4..727e14bcc 100644 --- a/sdks/implementations/python/tests/test_models/test_teams.py +++ b/sdks/implementations/python/tests/test_models/test_teams.py @@ -66,17 +66,19 @@ class TestTeamMemberProfile: from stack_auth.models.teams import TeamMemberProfile data = { + "userId": "user1", "displayName": "John", "profileImageUrl": "https://example.com/img.png", } profile = TeamMemberProfile.model_validate(data) + assert profile.user_id == "user1" assert profile.display_name == "John" assert profile.profile_image_url == "https://example.com/img.png" def test_nullable_fields(self) -> None: from stack_auth.models.teams import TeamMemberProfile - data = {} + data = {"userId": "user1"} profile = TeamMemberProfile.model_validate(data) assert profile.display_name is None assert profile.profile_image_url is None