code: def test_update_with_same_user_role(
      cli_runner: CliRunner, cli: Typer, role_string: str
  ):
      username = "username"
      UserSyncFactory.create(
          username=username, role=UserRole(role_string)
      )
  
      result = cli_runner.invoke(
          cli, f"database users update {username} --role {role_string}"
      )
  
      assert result.exit_code == 0
      assert (
          result.output
          == f"User {username!r} already has role {role_string!r}. Skipping...\n"
      )
  
file_path: argilla/tests/unit/server/cli/database/users/test_update.py
imports: from typing import TYPE_CHECKING
  import pytest
  from argilla.server.models import User, UserRole
  from click.testing import CliRunner
  from typer import Typer
  from tests.factories import UserSyncFactory
label_desc: Use image node_id 4 for calling a global function with example usage: test_update_with_same_user_role(cli_runner, cli, role_string) without return types