docstr: Test execute_query method by mocking the exception response and raise airflow exception
  without statementHandle in the response
docstr_tok: ["Test","execute_query","method","by","mocking","the","exception","response","and","raise","airflow","exception","without","statementHandle","in","the","response"]
code: def test_execute_query_exception_without_statement_handel(
      self,
      mock_get_header,
      mock_conn_param,
      mock_requests,
      sql,
      statement_count,
      expected_response,
      expected_query_ids,
  ):
      """
      Test execute_query method by mocking the exception response and raise airflow exception
      without statementHandle in the response
      """
      side_effect = create_post_side_effect()
      mock_requests.post.side_effect = side_effect
      hook = SnowflakeSqlApiHook("mock_conn_id")
  
      with pytest.raises(AirflowException) as exception_info:
          hook.execute_query(sql, statement_count)
      assert exception_info
  
imports: from __future__ import annotations
  import unittest
  import uuid
  from typing import TYPE_CHECKING, Any
  from unittest import mock
  from unittest.mock import AsyncMock
  import pytest
  import requests
  from cryptography.hazmat.backends import default_backend
  from cryptography.hazmat.primitives import serialization
  from cryptography.hazmat.primitives.asymmetric import rsa
  from responses import RequestsMock
  from airflow.exceptions import AirflowException
  from airflow.models import Connection
  from airflow.providers.snowflake.hooks.snowflake_sql_api import SnowflakeSqlApiHook
label_desc: Use image node_id 2 for calling the TestSnowflakeSqlApiHook obj's underlying member method code with example usage: obj.test_execute_query_exception_without_statement_handel(mock_get_header, mock_conn_param, mock_requests, sql, statement_count, expected_response, expected_query_ids) without return types