def METHOD_NAME(self):
    self.name = "name_token"
    self.value = {
        "selectors": ["ip"],
        "separator": ";",
        "topo": [],
        "ip": [
            {
                "bk_host_name": "name1",
                "bk_cloud_id": 0,
                "bk_host_innerip": "1.1.1.1",
                "bk_host_id": 1,
                "cloud": [{"id": "0", "bk_inst_name": "default area"}],
                "agent": 0,
            },
            {
                "bk_host_name": "name2",
                "bk_cloud_id": 0,
                "bk_host_innerip": "2.2.2.2",
                "bk_host_id": 2,
                "cloud": [{"id": "0", "bk_inst_name": "default area"}],
                "agent": 1,
            },
        ],
        "filters": [],
        "excludes": [],
        "with_cloud_id": True,
        "group": [{"id": "group1", "name": "group_test", "create_user": "tester"}],
    }
    self.context = {}
    self.pipeline_data = {"executor": "tester", "project_id": 1}
    self.supplier_account = "supplier_account_token"
    ip_result = {
        "result": True,
        "code": 0,
        "data": [
            {
                "bk_host_id": 1,
                "bk_host_innerip": "1.1.1.1",
                "bk_host_outerip": "",
                "bk_host_name": "name1",
                "bk_cloud_id": 0,
            },
            {
                "bk_host_id": 2,
                "bk_host_innerip": "2.2.2.2",
                "bk_host_outerip": "",
                "bk_host_name": "name2",
                "bk_cloud_id": 0,
            },
        ],
    }
    mock_get_ip_picker_result = MagicMock(return_value=ip_result)
    mock_project_obj = MagicMock()
    mock_project_obj.from_cmdb = True
    mock_project_obj.bk_biz_id = 1
    mock_project = MagicMock()
    mock_project.objects.get = MagicMock(return_value=mock_project_obj)
    self.supplier_account_for_project_patcher = patch(
        "pipeline_plugins.variables.collections.sites.open.cc.supplier_account_for_project",
        MagicMock(return_value=self.supplier_account),
    )
    self.project_patcher = patch("pipeline_plugins.variables.collections.sites.open.cc.Project", mock_project,)
    self.get_ip_picker_result_patcher = patch(
        "pipeline_plugins.variables.collections.sites.open.cc.get_ip_picker_result", mock_get_ip_picker_result,
    )
    self.supplier_account_for_project_patcher.start()
    self.project_patcher.start()
    self.get_ip_picker_result_patcher.start()