docstr: target: test create same collection name in different db
  method: 1. create 2 dbs
          2. create same collection name in the 2 dbs
  expected: verify db isolate collection
docstr_tok: ["target",":","test","create","same","collection","name","in","different","db","method",":","1.","create","2","dbs","2.","create","same","collection","name","in","the","2","dbs","expected",":","verify","db","isolate","collection"]
code: def test_different_db_same_collection_name(self):
      """
      target: test create same collection name in different db
      method: 1. create 2 dbs
              2. create same collection name in the 2 dbs
      expected: verify db isolate collection
      """
      self._connect()
  
      # create a db
      db_a = cf.gen_unique_str("a")
      self.database_wrap.create_database(db_a)
  
      # create b db
      db_b = cf.gen_unique_str("b")
      self.database_wrap.create_database(db_b)
  
      # create same collection name in db_a and db_b
      same_coll_name = cf.gen_unique_str(prefix)
  
      # create and insert in db_a
      self.database_wrap.using_database(db_a)
      collection_w_a = self.init_collection_wrap(name=same_coll_name)
      collection_w_a.insert(cf.gen_default_dataframe_data(nb=100))
      assert collection_w_a.num_entities == 100
      collections_a, _ = self.utility_wrap.list_collections()
      assert same_coll_name in collections_a
  
      # create and insert in db_b
      self.database_wrap.using_database(db_b)
      collection_w_b = self.init_collection_wrap(name=same_coll_name)
      collection_w_b.insert(cf.gen_default_dataframe_data(nb=200))
      assert collection_w_b.num_entities == 200
      collections_a, _ = self.utility_wrap.list_collections()
      assert same_coll_name in collections_a
  
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 7 for calling the TestDatabaseOperation obj's underlying member method code with example usage: obj.test_different_db_same_collection_name() without return types