code: def test_override_request_validation_exception():
      response = client.get("/request-validation/invalid")
      assert response.status_code == 200
      assert response.json() == {"exception": "request-validation"}
  
file_path: fastapi/tests/test_exception_handlers.py
imports: import pytest
  from fastapi import FastAPI, HTTPException
  from fastapi.exceptions import RequestValidationError
  from fastapi.testclient import TestClient
  from starlette.responses import JSONResponse
label_desc: Use image node_id 8 for calling a global function with example usage: test_override_request_validation_exception() without return types