class_docstr: Test class for TableauHook
class_docstr_tok: ["Test","class","for","TableauHook"]
code: def setup_method(self):
      configuration.conf.load_test_config()
  
      db.merge_conn(
          models.Connection(
              conn_id="tableau_test_password",
              conn_type="tableau",
              host="tableau",
              login="user",
              password="password",
              extra='{"site_id": "my_site"}',
          )
      )
      db.merge_conn(
          models.Connection(
              conn_id="tableau_test_token",
              conn_type="tableau",
              host="tableau",
              extra='{"token_name": "my_token", "personal_access_token": "my_personal_access_token"}',
          )
      )
      db.merge_conn(
          models.Connection(
              conn_id="tableau_test_ssl_connection_certificates_path",
              conn_type="tableau",
              host="tableau",
              login="user",
              password="password",
              extra='{"verify": "my_cert_path", "cert": "my_client_cert_path"}',
          )
      )
      db.merge_conn(
          models.Connection(
              conn_id="tableau_test_ssl_false_connection",
              conn_type="tableau",
              host="tableau",
              login="user",
              password="password",
              extra='{"verify": "False"}',
          )
      )
      db.merge_conn(
          models.Connection(
              conn_id="tableau_test_ssl_bool_param_connection",
              conn_type="tableau",
              host="tableau",
              login="user",
              password="password",
              extra='{"verify": false}',
          )
      )
      db.merge_conn(
          models.Connection(
              conn_id="tableau_test_ssl_connection_default",
              conn_type="tableau",
              host="tableau",
              extra='{"token_name": "my_token", "personal_access_token": "my_personal_access_token"}',
          )
      )
  
file_path: airflow/tests/providers/tableau/hooks/test_tableau.py
imports: from __future__ import annotations
  from unittest.mock import MagicMock, patch
  import pytest
  from airflow import configuration, models
  from airflow.providers.tableau.hooks.tableau import TableauHook, TableauJobFinishCode
  from airflow.utils import db
label_desc: Use image node_id 1 for calling the TestTableauHook obj's underlying member method code with example usage: obj.setup_method() without return types