code: def config(self, monkeypatch, argv) -> Config:
      monkeypatch.setattr("sys.argv", ["gradio"] + argv)
      name = (
          argv[1].replace("--demo-name", "").strip()
          if len(argv) > 1
          else "demo"
      )
      return Config(*_setup_config(argv[0], name))
  
file_path: gradio/test/test_reload.py
imports: import dataclasses
  from pathlib import Path
  from typing import List
  import pytest
  import gradio
  import gradio
  from gradio.cli.commands.reload import _setup_config
  from gradio.networking import Server
label_desc: Use image node_id 2 for calling the TestReload obj's underlying member method code with example usage: obj.config(monkeypatch, argv) and returns: Config