code: def test_get_conn_params_should_support_private_auth_in_connection(
      self, encrypted_temporary_private_key: Path
  ):
      connection_kwargs: Any = {
          **BASE_CONNECTION_KWARGS,
          "password": _PASSWORD,
          "extra": {
              "database": "db",
              "account": "airflow",
              "warehouse": "af_wh",
              "region": "af_region",
              "role": "af_role",
              "private_key_content": str(
                  encrypted_temporary_private_key.read_text()
              ),
          },
      }
      with mock.patch.dict(
          "os.environ",
          AIRFLOW_CONN_TEST_CONN=Connection(
              **connection_kwargs
          ).get_uri(),
      ):
          assert (
              "private_key"
              in SnowflakeHook(
                  snowflake_conn_id="test_conn"
              )._get_conn_params()
          )
  
imports: from __future__ import annotations
  import json
  from copy import deepcopy
  from typing import TYPE_CHECKING, Any
  from unittest import mock
  import pytest
  from cryptography.hazmat.backends import default_backend
  from cryptography.hazmat.primitives import serialization
  from cryptography.hazmat.primitives.asymmetric import rsa
  from airflow.models import Connection
  from airflow.providers.snowflake.hooks.snowflake import SnowflakeHook
label_desc: Use image node_id 2 for calling the TestPytestSnowflakeHook obj's underlying member method code with example usage: obj.test_get_conn_params_should_support_private_auth_in_connection(encrypted_temporary_private_key) without return types