class_docstr: Test /component endpoint.
class_docstr_tok: ["Test","\/component","endpoint","."]
code: def _request_component(self, path):
      return self.fetch("/component/%s" % path, method="GET")
  
file_path: streamlit/lib/tests/streamlit/web/server/component_request_handler_test.py
imports: from unittest import mock
  import tornado.testing
  import tornado.web
  from streamlit.components.v1.components import ComponentRegistry, declare_component
  from streamlit.web.server import ComponentRequestHandler
label_desc: Use image node_id 3 for calling the ComponentRequestHandlerTest obj's underlying member method code with example usage: obj._request_component(path) and returns: self