code: def test_get_http_error():
      response = client.get("/items/3")
      assert response.status_code == 418, response.text
      assert response.json() == {"detail": "Nope! I don't like 3."}
  
imports: from dirty_equals import IsDict
  from fastapi.testclient import TestClient
  from fastapi.utils import match_pydantic_error_url
  from docs_src.handling_errors.tutorial006 import app
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_http_error() without return types