Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/test_user_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ def test_get_user(self, mock_user, capture_and_mock_http_client_request):
assert request_kwargs["method"] == "get"
assert user.id == "user_01H7ZGXFP5C6BBQY6Z7277ZCT0"
assert user.profile_picture_url == "https://example.com/profile-picture.jpg"
assert user.last_sign_in_at == "2021-06-25T19:07:33.155Z"

def test_list_users_auto_pagination(
self,
Expand Down
1 change: 1 addition & 0 deletions tests/utils/fixtures/mock_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def __init__(self, id):
last_name="Hoeger",
email_verified=False,
profile_picture_url="https://example.com/profile-picture.jpg",
last_sign_in_at="2021-06-25T19:07:33.155Z",
created_at=now,
updated_at=now,
)
1 change: 1 addition & 0 deletions workos/types/user_management/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ class User(WorkOSModel):
last_name: Optional[str] = None
email_verified: bool
profile_picture_url: Optional[str] = None
last_sign_in_at: Optional[str] = None
created_at: str
updated_at: str