code: def test_build_discord_payload_message_length(self):
      # Given
      config = self._config.copy()
      # create message over the character limit
      config["message"] = "c" * 2001
      hook = DiscordWebhookHook(**config)
  
      # When/Then
      expected_message = (
          "Discord message length must be 2000 or fewer characters"
      )
      with pytest.raises(AirflowException, match=expected_message):
          hook._build_discord_payload()
  
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 6 for calling the TestDiscordWebhookHook obj's underlying member method code with example usage: obj.test_build_discord_payload_message_length() without return types