code: def test_convert_resources_to_urls_accelerators(test_case):
      gcp_compute = GCPCompute(None, _PROJECT_NAME, _AZ, "cluster_name")
      base_accel, result_accel = test_case
  
      base_config = {
          "machineType": "n1-standard-4",
          "guestAccelerators": [
              {"acceleratorCount": 1, "acceleratorType": base_accel}
          ],
      }
      modified_config = gcp_compute._convert_resources_to_urls(
          base_config
      )
  
      assert (
          modified_config["guestAccelerators"][0]["acceleratorType"]
          == result_accel
      )
  
imports: from typing import Dict
  from threading import RLock
  import pytest
  from unittest.mock import MagicMock, patch, call
  import logging
  from ray.autoscaler._private.gcp.node import GCPCompute, GCPNode, GCPNodeType, GCPResource
  from ray.tests.test_autoscaler import MockProcessRunner
  from ray.autoscaler._private.gcp.node_provider import GCPNodeProvider
  from ray.autoscaler._private.gcp.config import get_node_type, _get_num_tpu_chips, _is_single_host_tpu, _has_tpus_in_node_configs, tpu_accelerator_config_to_type
  from ray.autoscaler._private.gcp.tpu_command_runner import TPUCommandRunner, TPUVMSSHCommandRunner, TPUVMDockerCommandRunner
  from ray.autoscaler._private.command_runner import SSHCommandRunner, DockerCommandRunner
label_desc: Use image node_id 4 for calling a global function with example usage: test_convert_resources_to_urls_accelerators(test_case) without return types