code: def test_read_returns_view(root_client):
      # Test reading returns userview (and not real user), this wasnt the case, adding this as a sanity check
      users = root_client.api.services.user
      assert len(list(users))
      for _ in users:
          # check that result has no sensitive information
          assert isinstance(root_client.api.services.user[0], UserView)
  
imports: from faker import Faker
  import pytest
  import syft
  from syft import SyftError
  from syft import SyftSuccess
  from syft.client.api import SyftAPICall
  from syft.client.domain_client import DomainClient
  from syft.node.node import get_default_root_email
  from syft.node.worker import Worker
  from syft.service.context import AuthedServiceContext
  from syft.service.user.user import ServiceRole
  from syft.service.user.user import UserCreate
  from syft.service.user.user import UserUpdate
  from syft.service.user.user import UserView
label_desc: Use image node_id 9 for calling a global function with example usage: test_read_returns_view(root_client) without return types