code: def test_delete():
      response = client.request(
          "DELETE", "/items/foo", json={"name": "Foo"}
      )
      assert response.status_code == 200, response.text
      assert response.json() == {
          "item_id": "foo",
          "item": {"name": "Foo", "price": None},
      }
  
imports: from typing import Optional
  from dirty_equals import IsDict
  from fastapi import FastAPI
  from fastapi.responses import JSONResponse
  from fastapi.testclient import TestClient
  from pydantic import BaseModel
label_desc: Use image node_id 10 for calling a global function with example usage: test_delete() without return types