code: def test_get_webhook_endpoint_invalid_url(self):
      # Given
      provided_endpoint = (
          "https://discordapp.com/some-invalid-webhook-url"
      )
  
      # When/Then
      expected_message = (
          "Expected Discord webhook endpoint in the form of"
      )
      with pytest.raises(AirflowException, match=expected_message):
          DiscordWebhookHook(webhook_endpoint=provided_endpoint)
  
file_path: airflow/tests/providers/discord/hooks/test_discord_webhook.py
imports: from __future__ import annotations
  import json
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.models import Connection
  from airflow.providers.discord.hooks.discord_webhook import DiscordWebhookHook
  from airflow.utils import db
label_desc: Use image node_id 3 for calling the TestDiscordWebhookHook obj's underlying member method code with example usage: obj.test_get_webhook_endpoint_invalid_url() without return types