code: def test_single_replica_receives_all_requests(self, ongoing_requests):
      target_requests = 5
  
      config = AutoscalingConfig(
          min_replicas=1,
          max_replicas=50,
          target_num_ongoing_requests_per_replica=target_requests,
          upscale_delay_s=0.0,
          downscale_delay_s=0.0,
      )
  
      policy_manager = AutoscalingPolicyManager(config)
  
      new_num_replicas = policy_manager.get_decision_num_replicas(
          current_num_ongoing_requests=ongoing_requests,
          curr_target_num_replicas=4,
          current_handle_queued_queries=0,
      )
      assert new_num_replicas == sum(ongoing_requests) / target_requests
  
imports: import sys
  import numpy
  import pytest
  from ray.serve._private.autoscaling_policy import AutoscalingPolicyManager
  from ray.serve._private.constants import CONTROL_LOOP_PERIOD_S
  from ray.serve.autoscaling_policy import _calculate_desired_num_replicas
  from ray.serve.config import AutoscalingConfig
label_desc: Use image node_id 7 for calling the TestGetDecisionNumReplicas obj's underlying member method code with example usage: obj.test_single_replica_receives_all_requests(ongoing_requests) without return types