code: def test_delete_model_deletes_alias(store):
      model_name = "DeleteModelDeletesAlias_TestMod"
      _setup_and_test_aliases(store, model_name)
      store.delete_registered_model(model_name)
      with pytest.raises(
          MlflowException,
          match=r"Registered Model with name=DeleteModelDeletesAlias_TestMod not found",
      ):
          store.get_model_version_by_alias(model_name, "test_alias")
  
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 44 for calling a global function with example usage: test_delete_model_deletes_alias(store) without return types