code: def test_database_connection_test_mutator() -> None:
      from superset.db_engine_specs.snowflake import SnowflakeEngineSpec
      from superset.models.core import Database
  
      database = Database(sqlalchemy_uri="snowflake://abc")
      SnowflakeEngineSpec.mutate_db_for_connection_test(database)
      engine_params = json.loads(database.extra or "{}")
  
      assert {
          "engine_params": {
              "connect_args": {"validate_default_parameters": True}
          }
      } == engine_params
  
file_path: superset/tests/unit_tests/db_engine_specs/test_snowflake.py
imports: import json
  from datetime import datetime
  from typing import Optional
  from unittest import mock
  import pytest
  from pytest_mock import MockerFixture
  from sqlalchemy.engine.url import make_url
  from superset.errors import ErrorLevel, SupersetError, SupersetErrorType
  from tests.unit_tests.db_engine_specs.utils import assert_convert_dttm
  from tests.unit_tests.fixtures.common import dttm
label_desc: Use image node_id 2 for calling a global function with example usage: test_database_connection_test_mutator() without return types