code: def test_models_fail(bad_docs):
      import pydantic
  
      with pytest.raises(pydantic.error_wrappers.ValidationError):
          _ = JinaRequestModel(data=bad_docs)
  
file_path: jina/tests/unit/serve/runtimes/gateway/http/test_models.py
imports: import pydantic
  import pytest
  from jina.serve.runtimes.gateway.models import PROTO_TO_PYDANTIC_MODELS, JinaRequestModel
label_desc: Use image node_id 6 for calling a global function with example usage: test_models_fail(bad_docs) without return types