def METHOD_NAME(self):
    response = self.client.post(
        path=self.url().format(template_id=TEST_TEMPLATE_ID, project_id=TEST_PROJECT_ID),
        data=json.dumps({"name": "name", "constants": {}, "exclude_task_node_id": "exclude_task_node_id"}),
        content_type="application/json",
        HTTP_BK_APP_CODE=TEST_APP_CODE,
    )
    data = json.loads(response.content)
    self.assertFalse(data["result"])
    self.assertTrue("message" in data)