code: def test_start_server_app_kwargs():
      """
      Test that start_server accepts app_kwargs and they're propagated to FastAPI.
      """
      io = Interface(lambda x: x, "number", "number")
      app, _, _ = io.launch(
          show_error=True,
          prevent_thread_lock=True,
          app_kwargs={
              "docs_url": "/docs",
          },
      )
      client = TestClient(app)
      assert client.get("/docs").status_code == 200
      io.close()
  
file_path: gradio/test/test_networking.py
imports: import os
  import urllib
  import warnings
  import pytest
  from fastapi.testclient import TestClient
  import gradio
  from gradio import Interface, networking
label_desc: Use image node_id 1 for calling a global function with example usage: test_start_server_app_kwargs() without return types