code: def test_delete_user_runtime_error(
      self,
      cli_runner: "CliRunner",
      cli: "Typer",
      mocker: "MockerFixture",
      user: "User",
  ) -> None:
      user_delete_mock = mocker.patch.object(
          user, "delete", side_effect=RuntimeError
      )
      user_from_name_mock = mocker.patch(
          "argilla.client.users.User.from_name", return_value=user
      )
      result = cli_runner.invoke(
          cli, "users --username unit-test delete"
      )
  
      assert result.exit_code == 1
      assert (
          "An unexpected error occurred when trying to remove the user"
          in result.stdout
      )
      user_from_name_mock.assert_called_once_with("unit-test")
      user_delete_mock.assert_called_once()
  
imports: from typing import TYPE_CHECKING, Type
  import pytest
label_desc: Use image node_id 3 for calling the TestSuiteDeleteUserCommand obj's underlying member method code with example usage: obj.test_delete_user_runtime_error(cli_runner, cli, mocker, user) without return types