code: def test_execute_requires_either_cluster_identifier_or_workgroup_name(
      self, mock_conn, cluster_identifier, workgroup_name
  ):
      mock_conn.execute_statement.return_value = {"Id": STATEMENT_ID}
      cluster_identifier = "cluster_identifier"
      workgroup_name = "workgroup_name"
  
      with pytest.raises(ValueError):
          hook = RedshiftDataHook()
          hook.execute_query(
              database=DATABASE,
              cluster_identifier=cluster_identifier,
              workgroup_name=workgroup_name,
              sql=SQL,
              wait_for_completion=False,
          )
  
file_path: airflow/tests/providers/amazon/aws/hooks/test_redshift_data.py
imports: from __future__ import annotations
  import logging
  from unittest import mock
  import pytest
  from airflow.providers.amazon.aws.hooks.redshift_data import RedshiftDataHook
label_desc: Use image node_id 3 for calling the TestRedshiftDataHook obj's underlying member method code with example usage: obj.test_execute_requires_either_cluster_identifier_or_workgroup_name(mock_conn, cluster_identifier, workgroup_name) without return types