code: def test_hangouts_channel():
      from rasa.core.channels.hangouts import HangoutsInput
      import rasa.core
  
      input_channel = HangoutsInput(
          project_id="12345678901",
          # intent name for bot added to direct message event
          hangouts_user_added_intent_name="/added_dm",
          # intent name for bot added to room event
          hangouts_room_added_intent_name="/added_room",
          # intent name for bot removed from space event
          hangouts_removed_intent_name="/removed",
      )
  
      s = rasa.core.run.configure_app([input_channel], port=5004)
  
      routes_list = utils.list_routes(s)
  
      assert routes_list.get("hangouts_webhook.health").startswith(
          "/webhooks/hangouts"
      )
      assert routes_list.get("hangouts_webhook.receive").startswith(
          "/webhooks/hangouts/webhook"
      )
  
imports: import json
  import logging
  import pytest
  from rasa.core import utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_hangouts_channel() without return types