docstr: method:
  1. drop default rg when there are available nodes
  2. drop default rg when there are no available nodes
  3. drop the rg abc
  4. list rgs and describe the rg
  verify: drop fail with error msg at second time
docstr_tok: ["method",":","1.","drop","default","rg","when","there","are","available","nodes","2.","drop","default","rg","when","there","are","no","available","nodes","3.","drop","the","rg","abc","4.","list","rgs","and","describe","the","rg","verify",":","drop","fail","with","error","msg","at","second","time"]
code: def test_drop_default_rg(self):
      """
      method:
      1. drop default rg when there are available nodes
      2. drop default rg when there are no available nodes
      3. drop the rg abc
      4. list rgs and describe the rg
      verify: drop fail with error msg at second time
      """
      self._connect()
      rgs_count = len(self.utility_wrap.list_resource_groups()[0])
      default_rg_init_available_node = config_nodes
      default_rg_info = {
          "name": ct.default_resource_group_name,
          "capacity": ct.default_resource_group_capacity,
          "num_available_node": default_rg_init_available_node,
          "num_loaded_replica": {},
          "num_outgoing_node": {},
          "num_incoming_node": {},
      }
      self.utility_wrap.describe_resource_group(
          name=ct.default_resource_group_name,
          check_task=ct.CheckTasks.check_rg_property,
          check_items=default_rg_info,
      )
      error = {
          ct.err_code: 5,
          ct.err_msg: "delete default rg is not permitted",
      }
      self.utility_wrap.drop_resource_group(
          name=ct.default_resource_group_name,
          check_task=CheckTasks.err_res,
          check_items=error,
      )
      assert (
          len(self.utility_wrap.list_resource_groups()[0]) == rgs_count
      )
      default_rg, _ = self.utility_wrap.describe_resource_group(
          name=ct.default_resource_group_name,
          check_task=CheckTasks.check_rg_property,
          check_items=default_rg_info,
      )
  
imports: import pytest
  from base.client_base import TestcaseBase
  from common import common_func
  from common import common_type
  from common.common_type import CaseLabel, CheckTasks
  from utils.util_pymilvus import *
label_desc: Use image node_id 13 for calling the TestResourceGroupParams obj's underlying member method code with example usage: obj.test_drop_default_rg() without return types