code: def test_override_with_sub_router_decorator_depends_k_bar():
      app.dependency_overrides[
          common_parameters
      ] = overrider_dependency_with_sub
      response = client.get("/router-decorator-depends/?k=bar")
      assert response.status_code == 200
      assert response.json() == {"in": "router-decorator-depends"}
      app.dependency_overrides = {}
  
imports: from typing import Optional
  import pytest
  from dirty_equals import IsDict
  from fastapi import APIRouter, Depends, FastAPI
  from fastapi.testclient import TestClient
  from fastapi.utils import match_pydantic_error_url
label_desc: Use image node_id 25 for calling a global function with example usage: test_override_with_sub_router_decorator_depends_k_bar() without return types