code: def test_app_argparse_example():
      original_argv = sys.argv
  
      command_line = [
          os.path.join(_PATH_EXAMPLES, "argparse", "app.py"),
          "--app_args",
          "--use_gpu",
          "--without-server",
      ]
      result = application_testing(command_line=command_line)
      assert result.exit_code == 0, result.__dict__
      assert sys.argv == original_argv
  
imports: import os
  import sys
  from lightning.app.testing.testing import application_testing
  from lightning.app.utilities.load_app import _patch_sys_argv
  from integrations_app.public import _PATH_EXAMPLES
label_desc: Use image node_id 1 for calling a global function with example usage: test_app_argparse_example() without return types