code: def test_push_image_to_registry_handling_errors():
      image_uri = "dockerhub_account/mlflow-kubernetes-example"
      with pytest.raises(
          ExecutionException,
          match="Error while pushing to docker registry: An image does not exist locally",
      ):
          kb.push_image_to_registry(image_uri)
  
file_path: mlflow/tests/projects/test_kubernetes.py
imports: from unittest import mock
  import kubernetes
  import pytest
  import yaml
  from kubernetes.config.config_exception import ConfigException
  from mlflow.entities import RunStatus
  from mlflow.exceptions import ExecutionException
  from mlflow.projects import kubernetes
label_desc: Use image node_id 7 for calling a global function with example usage: test_push_image_to_registry_handling_errors() without return types