code: def test_delete_deployment(self, mock_get_conn):
      self.gdm_hook.delete_deployment(
          project_id=TEST_PROJECT, deployment=TEST_DEPLOYMENT
      )
      mock_get_conn.assert_called_once_with()
      mock_get_conn.return_value.deployments().delete.assert_called_once_with(
          project=TEST_PROJECT,
          deployment=TEST_DEPLOYMENT,
          deletePolicy=None,
      )
  
file_path: airflow/tests/providers/google/cloud/hooks/test_gdm.py
imports: from __future__ import annotations
  from unittest import mock
  import pytest
  from airflow.exceptions import AirflowException
  from airflow.providers.google.cloud.hooks.gdm import GoogleDeploymentManagerHook
label_desc: Use image node_id 4 for calling the TestDeploymentManagerHook obj's underlying member method code with example usage: obj.test_delete_deployment(mock_get_conn) without return types