code: def test_multi_provider_instance_type():
      def load_config(file):
          path = os.path.join(AUTOSCALER_DIR_PATH, file)
          return FileConfigReader(path).get_autoscaling_config()
  
      aws_config = load_config("aws/defaults.yaml")
      assert (
          aws_config.get_provider_instance_type("ray.head.default")
          == "m5.large"
      )
  
      gcp_config = load_config("gcp/defaults.yaml")
      # NOTE: Why is this underscore....
      assert (
          gcp_config.get_provider_instance_type("ray_head_default")
          == "n1-standard-2"
      )
  
      aliyun_config = load_config("aliyun/defaults.yaml")
      assert (
          aliyun_config.get_provider_instance_type("ray.head.default")
          == "ecs.n4.large"
      )
  
      azure_config = load_config("azure/defaults.yaml")
      assert (
          azure_config.get_provider_instance_type("ray.head.default")
          == "Standard_D2s_v3"
      )
  
file_path: ray/python/ray/autoscaler/v2/tests/test_config.py
imports: import os
  import sys
  import pytest
  from ray._private.test_utils import get_test_config_path
  from ray.autoscaler import AUTOSCALER_DIR_PATH
  from ray.autoscaler.v2.instance_manager.config import FileConfigReader
label_desc: Use image node_id 3 for calling a global function with example usage: test_multi_provider_instance_type() and returns: FileConfigReader