class_docstr: test other interface that has db_name params
class_docstr_tok: ["test","other","interface","that","has","db_name","params"]
docstr: target: test connect with not existed db succ
  method: 1.connect with not existed db
          2.list collection and gets exception
          3.create db and create collection in the db
          3.using default db
          4.list collections succ
  expected: parameters db_name is not validated when connecting
docstr_tok: ["target",":","test","connect","with","not","existed","db","succ","method",":","1.connect","with","not","existed","db","2.list","collection","and","gets","exception","3.create","db","and","create","collection","in","the","db","3.using","default","db","4.list","collections","succ","expected",":","parameters","db_name","is","not","validated","when","connecting"]
code: def test_connect_not_existed_db(self, host, port):
      """
      target: test connect with not existed db succ
      method: 1.connect with not existed db
              2.list collection and gets exception
              3.create db and create collection in the db
              3.using default db
              4.list collections succ
      expected: parameters db_name is not validated when connecting
      """
      # connect with not existed db
      db_name = cf.gen_unique_str(prefix)
      self.connection_wrap.connect(
          host=host,
          port=port,
          db_name=db_name,
          user=ct.default_user,
          password=ct.default_password,
          secure=cf.param_info.param_secure,
          check_task=CheckTasks.err_res,
          check_items={
              ct.err_code: 2,
              ct.err_msg: "database not found",
          },
      )
  
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 4 for calling the TestDatabaseOtherApi obj's underlying member method code with example usage: obj.test_connect_not_existed_db(host, port) without return types