def METHOD_NAME(self):
    task_instance = MagicMock()
    task_instance.id = TEST_TASKFLOW_ID
    task_instance.nodes_action = MagicMock(return_value=NODES_ACTION_RETURN)
    with patch(
        TASKINSTANCE_GET, MagicMock(return_value=task_instance),
    ):
        response = self.client.get(
            path=self.url().format(
                project_id=TEST_PROJECT_ID, task_id=TEST_TASKFLOW_ID
            ),
            data={
                "node_id": TEST_NODE_ID,
                "action": TEST_COMPONENT_CODE,
                "data": TEST_DATA,
                "inputs": TEST_INPUTS,
                "flow_id": TEST_FLOW_ID,
            },
        )
    data = json.loads(response.content)
    self.assertTrue(data["result"])
    self.assertEqual(data["code"], err_code.SUCCESS.code)
    self.assertEqual(data["data"], NODES_ACTION_RETURN["data"])
    task_instance.nodes_action.assert_called_once_with(
        TEST_ACTION,
        TEST_NODE_ID,
        "",
        data=TEST_DATA,
        inputs=TEST_INPUTS,
        flow_id=TEST_FLOW_ID,
    )