code: def test_parse_cn_wasbs_uri():
      parse = AzureBlobArtifactRepository.parse_wasbs_uri
      cn_api_suffix = "blob.core.chinacloudapi.cn"
  
      cn_wasb_with_short_path = (
          "wasbs://cont@acct.blob.core.chinacloudapi.cn/path"
      )
      assert parse(cn_wasb_with_short_path) == (
          "cont",
          "acct",
          "path",
          cn_api_suffix,
      )
  
      cn_wasb_without_path = (
          "wasbs://cont@acct.blob.core.chinacloudapi.cn"
      )
      assert parse(cn_wasb_without_path) == (
          "cont",
          "acct",
          "",
          cn_api_suffix,
      )
  
      cn_wasb_without_path2 = (
          "wasbs://cont@acct.blob.core.chinacloudapi.cn/"
      )
      assert parse(cn_wasb_without_path2) == (
          "cont",
          "acct",
          "",
          cn_api_suffix,
      )
  
      cn_wasb_with_multi_path = (
          "wasbs://cont@acct.blob.core.chinacloudapi.cn/a/b"
      )
      assert parse(cn_wasb_with_multi_path) == (
          "cont",
          "acct",
          "a/b",
          cn_api_suffix,
      )
  
      with pytest.raises(
          Exception, match="WASBS URI must be of the form"
      ):
          parse("wasbs://cont@acct.blob.core.evil.cn/path")
      with pytest.raises(
          Exception, match="WASBS URI must be of the form"
      ):
          parse("wasbs://cont@acct/path")
      with pytest.raises(
          Exception, match="WASBS URI must be of the form"
      ):
          parse("wasbs://acct.blob.core.chinacloudapi.cn/path")
      with pytest.raises(
          Exception, match="WASBS URI must be of the form"
      ):
          parse("wasbs://@acct.blob.core.chinacloudapi.cn/path")
      with pytest.raises(
          Exception, match="WASBS URI must be of the form"
      ):
          parse("wasbs://cont@acctxblob.core.chinacloudapi.cn/path")
      with pytest.raises(Exception, match="Not a WASBS URI"):
          parse("wasb://cont@acct.blob.core.chinacloudapi.cn/path")
  
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 5 for calling a global function with example usage: test_parse_cn_wasbs_uri() without return types