code: def slack_webhook_connections():
      """Create tests connections."""
      connections = [
          Connection(
              conn_id=SlackWebhookHook.default_conn_name,
              conn_type=CONN_TYPE,
              password=TEST_TOKEN,
          ),
          Connection(
              conn_id="conn_full_url_connection",
              conn_type=CONN_TYPE,
              password=TEST_WEBHOOK_URL,
          ),
          Connection(
              conn_id="conn_full_url_connection_with_host",
              conn_type=CONN_TYPE,
              host="http://example.org/hooks/",
              password=TEST_WEBHOOK_URL,
          ),
          Connection(
              conn_id="conn_host_with_schema",
              conn_type=CONN_TYPE,
              host="https://hooks.slack.com/services/",
              password=f"/{TEST_TOKEN}",
          ),
          Connection(
              conn_id="conn_host_without_schema",
              conn_type=CONN_TYPE,
              host="hooks.slack.com/services/",
              password=f"/{TEST_TOKEN}",
          ),
          Connection(
              conn_id="conn_parts",
              conn_type=CONN_TYPE,
              host="hooks.slack.com/services",
              schema="https",
              password=f"/{TEST_TOKEN}",
          ),
          Connection(
              conn_id="conn_deprecated_extra",
              conn_type=CONN_TYPE,
              host="https://hooks.slack.com/services/",
              extra={"webhook_token": TEST_TOKEN},
          ),
          Connection(
              conn_id="conn_custom_endpoint_1",
              conn_type=CONN_TYPE,
              schema=TEST_CUSTOM_SCHEMA,
              host=TEST_CUSTOM_ENDPOINT,
              password=TEST_TOKEN,
          ),
          Connection(
              conn_id="conn_custom_endpoint_2",
              conn_type=CONN_TYPE,
              host=f"{TEST_CUSTOM_SCHEMA}://{TEST_CUSTOM_ENDPOINT}",
              password=TEST_TOKEN,
          ),
          Connection(
              conn_id="conn_custom_endpoint_3",
              conn_type=CONN_TYPE,
              password=TEST_CUSTOM_WEBHOOK_URL,
          ),
          Connection(
              conn_id="conn_empty",
              conn_type=CONN_TYPE,
          ),
          Connection(
              conn_id="conn_password_empty_1",
              conn_type=CONN_TYPE,
              host="https://hooks.slack.com/services/",
          ),
          Connection(
              conn_id="conn_password_empty_2",
              conn_type=CONN_TYPE,
              schema="http",
              host="some.netloc",
          ),
      ]
      with pytest.MonkeyPatch.context() as mp:
          for conn in connections:
              mp.setenv(
                  f"AIRFLOW_CONN_{conn.conn_id.upper()}", conn.get_uri()
              )
          yield
  
imports: from __future__ import annotations
  import json
  import os
  from typing import Any
  from unittest import mock
  from unittest.mock import patch
  import pytest
  from slack_sdk.http_retry.builtin_handlers import ConnectionErrorRetryHandler, RateLimitErrorRetryHandler
  from slack_sdk.webhook.webhook_response import WebhookResponse
  from airflow.exceptions import AirflowException, AirflowNotFoundException
  from airflow.models.connection import Connection
  from airflow.providers.slack.hooks.slack_webhook import SlackWebhookHook, check_webhook_response
label_desc: Use image node_id 1 for calling a global function with example usage: slack_webhook_connections() without return types