code: def test_create_item(client: TestClient) -> None:
      response = client.post("/items/", json={"name": "Foo"})
      assert response.status_code == 200, response.text
      assert response.json() == {"name": "Foo", "description": None}
  
imports: import pytest
  from fastapi.testclient import TestClient
  from ...utils import needs_py39, needs_pydanticv2
label_desc: Use image node_id 2 for calling a global function with example usage: test_create_item(client) without return types