code: def test_delete_registered_model_tag(store):
      name1 = "DeleteRegisteredModelTag_TestMod"
      name2 = "DeleteRegisteredModelTag_TestMod 2"
      initial_tags = [
          RegisteredModelTag("key", "value"),
          RegisteredModelTag("anotherKey", "some other value"),
      ]
      store.create_registered_model(name1, initial_tags)
      store.create_registered_model(name2, initial_tags)
      new_tag = RegisteredModelTag("randomTag", "not a random value")
      store.set_registered_model_tag(name1, new_tag)
      store.delete_registered_model_tag(name1, "randomTag")
      rm1 = store.get_registered_model(name=name1)
      assert rm1.tags == {tag.key: tag.value for tag in initial_tags}
  
      # testing deleting a key does not affect other models with the same key
      store.delete_registered_model_tag(name1, "key")
      rm1 = store.get_registered_model(name=name1)
      rm2 = store.get_registered_model(name=name2)
      assert rm1.tags == {"anotherKey": "some other value"}
      assert rm2.tags == {tag.key: tag.value for tag in initial_tags}
  
      # delete tag that is already deleted does nothing
      store.delete_registered_model_tag(name1, "key")
      rm1 = store.get_registered_model(name=name1)
      assert rm1.tags == {"anotherKey": "some other value"}
  
      # can not delete tag on deleted (non-existed) registered model
      store.delete_registered_model(name1)
      with pytest.raises(
          MlflowException,
          match=f"Registered Model with name={name1} not found",
      ) as exception_context:
          store.delete_registered_model_tag(name1, "anotherKey")
      assert exception_context.value.error_code == ErrorCode.Name(
          RESOURCE_DOES_NOT_EXIST
      )
      # can not delete tag with invalid key
      with pytest.raises(
          MlflowException, match=r"Tag name cannot be None"
      ) as exception_context:
          store.delete_registered_model_tag(name2, None)
      assert exception_context.value.error_code == ErrorCode.Name(
          INVALID_PARAMETER_VALUE
      )
      # can not use invalid model name
      with pytest.raises(
          MlflowException,
          match=r"Registered model name cannot be empty",
      ) as exception_context:
          store.delete_registered_model_tag(None, "key")
      assert exception_context.value.error_code == ErrorCode.Name(
          INVALID_PARAMETER_VALUE
      )
  
imports: import time
  import uuid
  from typing import List, NamedTuple
  from unittest import mock
  import pytest
  from mlflow.entities.model_registry import ModelVersion, ModelVersionTag, RegisteredModelTag
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE, RESOURCE_DOES_NOT_EXIST, ErrorCode
  from mlflow.store.model_registry.file_store import FileStore
  from mlflow.utils.file_utils import path_to_local_file_uri, write_yaml
  from mlflow.utils.time import get_current_time_millis
  from tests.helper_functions import random_int, random_str
label_desc: Use image node_id 19 for calling a global function with example usage: test_delete_registered_model_tag(store) without return types