code: def test_dataset_sources_are_importable_from_sources_module(tmp_path):
      from mlflow.data.sources import LocalArtifactDatasetSource
  
      src = LocalArtifactDatasetSource(tmp_path)
      assert src._get_source_type() == "local"
      assert src.uri == tmp_path
  
      from mlflow.data.sources import DeltaDatasetSource
  
      src = DeltaDatasetSource(path=tmp_path)
      assert src._get_source_type() == "delta_table"
      assert src.path == tmp_path
  
file_path: mlflow/tests/data/test_dataset_source_registry.py
imports: from typing import Any
  from unittest import mock
  import pytest
  from mlflow.data.dataset_source_registry import DatasetSourceRegistry
  from mlflow.exceptions import MlflowException
  from tests.resources.data.dataset_source import TestDatasetSource
label_desc: Use image node_id 7 for calling a global function with example usage: test_dataset_sources_are_importable_from_sources_module(tmp_path) without return types