code: def test_raise_error_component_template_does_not_exist(tmp_path):
      with pytest.raises(
          ValueError,
          match="Cannot find NonExistentComponent in gradio.components or gradio.layouts",
      ):
          _create(
              "MyComponent",
              tmp_path,
              template="NonExistentComponent",
              overwrite=True,
              install=False,
              configure_metadata=False,
          )
  
file_path: gradio/test/test_gradio_component_cli.py
imports: import shutil
  import textwrap
  from pathlib import Path
  import pytest
  from gradio.cli.commands.components._create_utils import OVERRIDES
  from gradio.cli.commands.components.create import _create
  from gradio.cli.commands.components.publish import _get_version_from_file
  from gradio.cli.commands.components.show import _show
label_desc: Use image node_id 2 for calling a global function with example usage: test_raise_error_component_template_does_not_exist(tmp_path) without return types