def METHOD_NAME(self, mock_get_client_by_user_return):
    """
    获取集群信息失败的测试用例
    """
    set_module_selector = VarSetModuleSelector(
        pipeline_data=self.pipeline_data, value=self.value, name="test", context={}
    )
    with self.assertRaises(ApiRequestError) as context:
        set_module_selector.get_value()
    self.assertTrue("ApiRequestError" in str(context.exception))