code: def test_pod_args_remove_uses_ba():
      args = set_deployment_parser().parse_args([])
      with Deployment(args, include_gateway=False) as p:
          assert p.num_pods == 1
  
      args = set_deployment_parser().parse_args(
          [
              "--uses-before",
              __default_executor__,
              "--uses-after",
              __default_executor__,
          ]
      )
      with Deployment(args, include_gateway=False) as p:
          assert p.num_pods == 1
  
      args = set_deployment_parser().parse_args(
          [
              "--uses-before",
              __default_executor__,
              "--uses-after",
              __default_executor__,
              "--replicas",
              "2",
          ]
      )
      with Deployment(args, include_gateway=False) as p:
          assert p.num_pods == 2
  
imports: import json
  import os
  import pytest
  import yaml
  from jina import Document, DocumentArray, Executor, requests
  from jina.clients.request import request_generator
  from jina.constants import __default_executor__, __default_host__
  from jina.enums import PollingType
  from jina.excepts import RuntimeFailToStart
  from jina.orchestrate.deployments import Deployment
  from jina.parsers import set_deployment_parser, set_gateway_parser
  from jina.serve.networking.utils import send_request_sync
  from tests.unit.test_helper import MyDummyExecutor
label_desc: Use image node_id 21 for calling a global function with example usage: test_pod_args_remove_uses_ba() without return types