code: def setup_method(self):
      super().setup_method()
      # create a weaviate database connection
      tmp_directory = tempfile.mkdtemp()
      self.run_sql(
          f"""
              CREATE DATABASE weaviate_test
              WITH ENGINE = "weaviate",
              PARAMETERS = {{
                  "persistence_directory": "{tmp_directory}"
              }}
          """
      )
  
imports: import re
  import importlib
  from unittest.mock import patch
  import tempfile
  import psutil
  import pandas
  import pytest
  from mindsdb_sql import parse_sql
  from ..unit.executor_test_base import BaseExecutorTest
label_desc: Use image node_id 2 for calling the TestWeaviateHandler obj's underlying member method code with example usage: obj.setup_method() without return types