code: def test_log_artifact(mock_client, tmp_path):
      repo = AzureBlobArtifactRepository(TEST_URI, mock_client)
  
      d = tmp_path.joinpath("data")
      d.mkdir()
      f = d.joinpath("test.txt")
      f.write_text("hello world!")
      fpath = posixpath.join(str(d), "test.txt")
  
      repo.log_artifact(fpath)
  
      mock_client.get_container_client.assert_called_with("container")
      (
          arg1,
          arg2,
      ) = mock_client.get_container_client().upload_blob.call_args[0]
      assert arg1 == posixpath.join(TEST_ROOT_PATH, "test.txt")
      # arg2 should be a filebuffer
      assert arg2.name == fpath
  
imports: import base64
  import os
  import posixpath
  from unittest import mock
  import pytest
  from azure.storage.blob import BlobPrefix, BlobProperties, BlobServiceClient
  from mlflow.entities.multipart_upload import MultipartUploadPart
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.artifact_repository_registry import get_artifact_repository
  from mlflow.store.artifact.azure_blob_artifact_repo import AzureBlobArtifactRepository
label_desc: Use image node_id 9 for calling a global function with example usage: test_log_artifact(mock_client, tmp_path) without return types