code: def test_replica_tag_formatting():
      app_name = "my_app"
      deployment_tag = "DeploymentA"
      replica_suffix = get_random_string()
  
      replica_name = ReplicaName(
          app_name, deployment_tag, replica_suffix
      )
      assert (
          replica_name.replica_tag
          == f"{app_name}#{deployment_tag}#{replica_suffix}"
      )
      assert (
          str(replica_name)
          == f"{app_name}#{deployment_tag}#{replica_suffix}"
      )
  
imports: import time
  import pytest
  from ray.serve._private.common import ApplicationStatus, ApplicationStatusInfo, DeploymentStatus, DeploymentStatusInfo, DeploymentStatusTrigger, ReplicaName, RunningReplicaInfo, StatusOverview
  from ray.serve._private.utils import get_random_string
  from ray.serve.generated.serve_pb2 import ApplicationStatusInfo
  from ray.serve.generated.serve_pb2 import DeploymentStatusInfo
  from ray.serve.generated.serve_pb2 import StatusOverview
label_desc: Use image node_id 1 for calling a global function with example usage: test_replica_tag_formatting() without return types