code: def override_get_db():
      try:
          db = TestingSessionLocal()
          yield db
      finally:
          db.close()
  
imports: from fastapi.testclient import TestClient
  from sqlalchemy import create_engine
  from sqlalchemy.orm import sessionmaker
  from sqlalchemy.pool import StaticPool
  from ..database import Base
  from ..main import app, get_db
label_desc: Use image node_id 1 for calling a global function with example usage: override_get_db() without return types