code: def configure_for_tests():
      if "--api" not in sys.argv:
          sys.argv.append("--api")
      if "--ckpt" not in sys.argv:
          sys.argv.append("--ckpt")
          sys.argv.append(
              os.path.join(script_path, "test/test_files/empty.pt")
          )
      if "--skip-torch-cuda-test" not in sys.argv:
          sys.argv.append("--skip-torch-cuda-test")
      if "--disable-nan-check" not in sys.argv:
          sys.argv.append("--disable-nan-check")
  
      os.environ["COMMANDLINE_ARGS"] = ""
  
imports: import logging
  import re
  import subprocess
  import os
  import shutil
  import sys
  import importlib.util
  import importlib.metadata
  import platform
  import json
  from functools import lru_cache
  from modules import cmd_args, errors
  from modules.paths_internal import script_path, extensions_dir
  from modules.timer import startup_timer
  from modules import logging_config
label_desc: Use image node_id 19 for calling a global function with example usage: configure_for_tests() without return types