docstr: Test execute_query method, run query by mocking post request method and return the query ids
docstr_tok: ["Test","execute_query","method",",","run","query","by","mocking","post","request","method","and","return","the","query","ids"]
code: def test_execute_query(
      self,
      mock_get_header,
      mock_conn_param,
      mock_requests,
      sql,
      statement_count,
      expected_response,
      expected_query_ids,
  ):
      """Test execute_query method, run query by mocking post request method and return the query ids"""
      mock_requests.codes.ok = 200
      mock_requests.post.side_effect = [
          create_successful_response_mock(expected_response),
      ]
      status_code_mock = mock.PropertyMock(return_value=200)
      type(
          mock_requests.post.return_value
      ).status_code = status_code_mock
  
      hook = SnowflakeSqlApiHook("mock_conn_id")
      query_ids = hook.execute_query(sql, statement_count)
      assert query_ids == expected_query_ids
  
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 1 for calling the TestSnowflakeSqlApiHook obj's underlying member method code with example usage: obj.test_execute_query(mock_get_header, mock_conn_param, mock_requests, sql, statement_count, expected_response, expected_query_ids) without return types