code: def test_override_autoscaling_config(self, info):
      config = ServeApplicationSchema(
          name="default",
          import_path="test.import.path",
          deployments=[
              DeploymentSchema(
                  name="A",
                  autoscaling_config={
                      "min_replicas": 1,
                      "initial_replicas": 12,
                      "max_replicas": 79,
                  },
              )
          ],
      )
  
      updated_infos = override_deployment_info(
          "default", {"A": info}, config
      )
      updated_info = updated_infos["A"]
      assert updated_info.route_prefix == "/"
      assert updated_info.version == "123"
      assert (
          updated_info.autoscaling_policy_manager.config.min_replicas
          == 1
      )
      assert (
          updated_info.autoscaling_policy_manager.config.initial_replicas
          == 12
      )
      assert (
          updated_info.autoscaling_policy_manager.config.max_replicas
          == 79
      )
  
imports: import sys
  from typing import Dict, List, Tuple
  from unittest.mock import Mock, PropertyMock, patch
  import pytest
  from ray.exceptions import RayTaskError
  from ray.serve._private.application_state import ApplicationState, ApplicationStateManager, override_deployment_info
  from ray.serve._private.common import ApplicationStatus, DeploymentID, DeploymentStatus, DeploymentStatusInfo, DeploymentStatusTrigger
  from ray.serve._private.config import DeploymentConfig, ReplicaConfig
  from ray.serve._private.deploy_utils import deploy_args_to_deployment_info
  from ray.serve._private.deployment_info import DeploymentInfo
  from ray.serve._private.test_utils import MockKVStore
  from ray.serve._private.utils import get_random_string
  from ray.serve.exceptions import RayServeException
  from ray.serve.schema import DeploymentSchema, ServeApplicationSchema
label_desc: Use image node_id 3 for calling the TestOverrideDeploymentInfo obj's underlying member method code with example usage: obj.test_override_autoscaling_config(info) without return types