code: def testDeleteImageLocal(self, mock_check_output, mock_docker):
      image_name = "gcr.io/some/name"
      mock_client = mock_docker.return_value
      mock_client.images.list.return_value = [
          docker.models.images.Image(
              attrs={
                  "Id": "sha256:abcdefghijkl",
                  "Created": "2019-06-03T19:57:07.576509403Z",
              }
          )
      ]
  
      docker_utils.delete_image(image_name, remote=False)
  
      mock_check_output.assert_not_called()
  
file_path: tfx/tfx/utils/docker_utils_test.py
imports: import subprocess
  from unittest import mock
  import docker
  import tensorflow
  from tfx.utils import docker_utils
label_desc: Use image node_id 2 for calling the DockerUtilsTest obj's underlying member method code with example usage: obj.testDeleteImageLocal(mock_check_output, mock_docker) without return types