code: def test_create_user_errors(
      owner: "ServerUser", annotator: "ServerUser"
  ) -> None:
      httpx_client = ArgillaSingleton.init(
          api_key=annotator.api_key
      ).http_client.httpx
      with pytest.raises(ForbiddenApiError):
          create_user(
              client=httpx_client,
              first_name="user",
              username="user_1",
              password="user_password",
              role="annotator",
          )
  
      httpx_client = ArgillaSingleton.init(
          api_key=owner.api_key
      ).http_client.httpx
      with pytest.raises(AlreadyExistsApiError):
          create_user(
              client=httpx_client,
              first_name="user",
              username=annotator.username,
              password="user_password",
              role="annotator",
          )
  
      with pytest.raises(ValidationApiError):
          create_user(
              client=httpx_client,
              first_name="another-user",
              username="another-user",
              password="user_password",
              role="annotator",
              workspaces=["i do not exist"],
          )
  
file_path: argilla/tests/integration/client/sdk/api/test_users.py
imports: from typing import TYPE_CHECKING
  from uuid import uuid4
  import pytest
  from argilla.client.client import Argilla
  from argilla.client.sdk.client import AuthenticatedClient
  from argilla.client.sdk.commons.errors import AlreadyExistsApiError, BaseClientError, ForbiddenApiError, NotFoundApiError, UnauthorizedApiError, ValidationApiError
  from argilla.client.sdk.users.api import create_user, delete_user, list_users, whoami
  from argilla.client.sdk.users.models import UserModel
  from argilla.client.singleton import ArgillaSingleton
  from tests.factories import WorkspaceFactory
  from tests.factories import UserFactory
label_desc: Use image node_id 3 for calling a global function with example usage: test_create_user_errors(owner, annotator) without return types