code: def test_get_conn_url_with_ingestion_type(self, mock_get_connection):
      get_conn_value = MagicMock()
      get_conn_value.host = "test_host"
      get_conn_value.conn_type = "https"
      get_conn_value.port = "1"
      get_conn_value.extra_dejson = {
          "endpoint": "ingest",
          "msq_endpoint": "sql_ingest",
      }
      mock_get_connection.return_value = get_conn_value
      hook = DruidHook(timeout=1, max_ingestion_time=5)
      assert (
          hook.get_conn_url(IngestionType.MSQ)
          == "https://test_host:1/sql_ingest"
      )
  
imports: from __future__ import annotations
  from unittest.mock import MagicMock, patch
  import pytest
  import requests
  from airflow.exceptions import AirflowException
  from airflow.providers.apache.druid.hooks.druid import DruidDbApiHook, DruidHook, IngestionType
label_desc: Use image node_id 3 for calling the TestDruidHook obj's underlying member method code with example usage: obj.test_get_conn_url_with_ingestion_type(mock_get_connection) without return types