code: def test_no_content_type_is_json(client: TestClient):
      response = client.post(
          "/items/",
          content='{"name": "Foo", "price": 50.5}',
      )
      assert response.status_code == 200, response.text
      assert response.json() == {
          "name": "Foo",
          "description": None,
          "price": 50.5,
          "tax": None,
      }
  
imports: from unittest.mock import patch
  import pytest
  from dirty_equals import IsDict
  from fastapi.testclient import TestClient
  from fastapi.utils import match_pydantic_error_url
  from ...utils import needs_py310
label_desc: Use image node_id 14 for calling a global function with example usage: test_no_content_type_is_json(client) without return types