class_docstr: Test case of database 
class_docstr_tok: ["Test","case","of","database"]
docstr: teardown method: drop collection and db
docstr_tok: ["teardown","method",":","drop","collection","and","db"]
code: def teardown_method(self, method):
      """
      teardown method: drop collection and db
      """
      log.info(
          "[database_teardown_method] Start teardown database test cases ..."
      )
      self._connect()
  
      # clear db
      for db in self.database_wrap.list_database()[0]:
          # using db
          self.database_wrap.using_database(db)
  
          # drop db collections
          colls, _ = self.utility_wrap.list_collections()
          for coll in colls:
              self.utility_wrap.drop_collection(coll)
  
          # drop db
          if db != ct.default_db:
              self.database_wrap.drop_database(db)
  
      dbs, _ = self.database_wrap.list_database()
      assert dbs == [ct.default_db]
  
      super().teardown_method(method)
  
imports: import pandas
  import pytest
  from base.client_base import TestcaseBase
  from common.common_type import CheckTasks, CaseLabel
  from common import common_func
  from common import common_type
  from utils.util_log import test_log
label_desc: Use image node_id 1 for calling the TestDatabaseParams obj's underlying member method code with example usage: obj.teardown_method(method) without return types