code: def test_delete_task(self, get_conn):
      result = self.hook.delete_task(
          location=LOCATION,
          queue_name=QUEUE_ID,
          task_name=TASK_NAME,
          project_id=PROJECT_ID,
      )
  
      assert result is None
  
      get_conn.return_value.delete_task.assert_called_once_with(
          request=dict(name=FULL_TASK_PATH),
          retry=DEFAULT,
          timeout=None,
          metadata=(),
      )
  
imports: from __future__ import annotations
  from typing import Any
  from unittest import mock
  import pytest
  from google.api_core.gapic_v1.method import DEFAULT
  from google.cloud.tasks_v2.types import Queue, Task
  from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
  from airflow.providers.google.common.consts import CLIENT_INFO
  from tests.providers.google.cloud.utils.base_gcp_mock import mock_base_gcp_hook_no_default_project_id
label_desc: Use image node_id 15 for calling the TestCloudTasksHook obj's underlying member method code with example usage: obj.test_delete_task(get_conn) without return types