code: def test_dbfs_artifact_repo_factory_errors(artifact_uri):
      with pytest.raises(
          MlflowException, match="DBFS URI must be of the form dbfs"
      ):
          dbfs_artifact_repo_factory(artifact_uri)
  
file_path: mlflow/tests/store/artifact/test_dbfs_artifact_repo.py
imports: from unittest import mock
  import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.databricks_artifact_repo import DatabricksArtifactRepository
  from mlflow.store.artifact.dbfs_artifact_repo import DbfsRestArtifactRepository, dbfs_artifact_repo_factory
  from mlflow.store.artifact.local_artifact_repo import LocalArtifactRepository
label_desc: Use image node_id 4 for calling a global function with example usage: test_dbfs_artifact_repo_factory_errors(artifact_uri) without return types