code: def test_models_artifact_repo_does_not_add_meta_for_file(tmp_path):
      artifact_path = "artifact_file.txt"
      model_name = "MyModel"
      model_version = "12"
      artifact_location = f"s3://blah_bucket/{artifact_path}"
  
      dummy_file = tmp_path / artifact_path
      dummy_file.touch()
  
      with mock.patch.object(
          MlflowClient,
          "get_model_version_download_uri",
          return_value=artifact_location,
      ), mock.patch.object(
          ModelsArtifactRepository, "_add_registered_model_meta_file"
      ) as add_meta_mock:
          models_repo = ModelsArtifactRepository(
              f"models:/{model_name}/{model_version}"
          )
          models_repo.repo = mock.Mock(
              **{"download_artifacts.return_value": str(dummy_file)}
          )
  
          models_repo.download_artifacts(artifact_path, str(tmp_path))
  
          add_meta_mock.assert_not_called()
  
file_path: mlflow/tests/store/artifact/test_models_artifact_repo.py
imports: from unittest import mock
  import pytest
  from mlflow import MlflowClient
  from mlflow.entities.model_registry import ModelVersion
  from mlflow.store.artifact.databricks_models_artifact_repo import DatabricksModelsArtifactRepository
  from mlflow.store.artifact.models_artifact_repo import ModelsArtifactRepository
  from mlflow.store.artifact.unity_catalog_models_artifact_repo import UnityCatalogModelsArtifactRepository
  from mlflow.utils.os import is_windows
  from tests.store.artifact.constants import UC_MODELS_ARTIFACT_REPOSITORY, WORKSPACE_MODELS_ARTIFACT_REPOSITORY
label_desc: Use image node_id 8 for calling a global function with example usage: test_models_artifact_repo_does_not_add_meta_for_file(tmp_path) without return types