code: def _get_databricks_profile_uri_test_cases():
      # Each test case is (uri, result, result_scheme)
      test_case_groups = [
          [
              # URIs with no databricks profile info -> return None
              (
                  "ftp://user:pass@realhost:port/path/to/nowhere",
                  None,
                  result_scheme,
              ),
              ("dbfs:/path/to/nowhere", None, result_scheme),
              (
                  "dbfs://nondatabricks/path/to/nowhere",
                  None,
                  result_scheme,
              ),
              (
                  "dbfs://incorrect:netloc:format/path/to/nowhere",
                  None,
                  result_scheme,
              ),
              # URIs with legit databricks profile info
              (f"dbfs://{result_scheme}", result_scheme, result_scheme),
              (
                  f"dbfs://{result_scheme}/",
                  result_scheme,
                  result_scheme,
              ),
              (
                  f"dbfs://{result_scheme}/path/to/nowhere",
                  result_scheme,
                  result_scheme,
              ),
              (
                  f"dbfs://{result_scheme}:port/path/to/nowhere",
                  result_scheme,
                  result_scheme,
              ),
              (
                  f"dbfs://@{result_scheme}/path/to/nowhere",
                  result_scheme,
                  result_scheme,
              ),
              (
                  f"dbfs://@{result_scheme}:port/path/to/nowhere",
                  result_scheme,
                  result_scheme,
              ),
              (
                  f"dbfs://profile@{result_scheme}/path/to/nowhere",
                  f"{result_scheme}://profile",
                  result_scheme,
              ),
              (
                  f"dbfs://profile@{result_scheme}:port/path/to/nowhere",
                  f"{result_scheme}://profile",
                  result_scheme,
              ),
              (
                  f"dbfs://scope:key_prefix@{result_scheme}/path/abc",
                  f"{result_scheme}://scope:key_prefix",
                  result_scheme,
              ),
              (
                  f"dbfs://scope:key_prefix@{result_scheme}:port/path/abc",
                  f"{result_scheme}://scope:key_prefix",
                  result_scheme,
              ),
              # Doesn't care about the scheme of the artifact URI
              (
                  f"runs://scope:key_prefix@{result_scheme}/path/abc",
                  f"{result_scheme}://scope:key_prefix",
                  result_scheme,
              ),
              (
                  f"models://scope:key_prefix@{result_scheme}/path/abc",
                  f"{result_scheme}://scope:key_prefix",
                  result_scheme,
              ),
              (
                  f"s3://scope:key_prefix@{result_scheme}/path/abc",
                  f"{result_scheme}://scope:key_prefix",
                  result_scheme,
              ),
          ]
          for result_scheme in ["databricks", "databricks-uc"]
      ]
      return [
          test_case
          for test_case_group in test_case_groups
          for test_case in test_case_group
      ]
  
imports: import pathlib
  import posixpath
  import pytest
  from mlflow.exceptions import MlflowException
  from mlflow.store.db.db_types import DATABASE_ENGINES
  from mlflow.utils.os import is_windows
  from mlflow.utils.uri import add_databricks_profile_info_to_artifact_uri, append_to_uri_path, append_to_uri_query_params, dbfs_hdfs_uri_to_fuse_path, extract_and_normalize_path, extract_db_type_from_uri, get_databricks_profile_uri_from_artifact_uri, get_db_info_from_uri, get_uri_scheme, is_databricks_acled_artifacts_uri, is_databricks_uri, is_fuse_or_uc_volumes_uri, is_http_uri, is_local_uri, is_valid_dbfs_uri, remove_databricks_profile_info_from_artifact_uri, resolve_uri_if_local, validate_path_is_safe
label_desc: Use image node_id 17 for calling a global function with example usage: _get_databricks_profile_uri_test_cases() and returns: unknown