code: def test_schema_is_up_to_date():
      initialize_database()
      tracking_uri = get_tracking_uri()
      schema_path = get_schema_path(tracking_uri)
      existing_schema = schema_path.read_text()
      latest_schema = dump_schema(tracking_uri)
      dialect = get_database_dialect(tracking_uri)
      update_command = get_schema_update_command(dialect)
      message = (
          f"{schema_path.relative_to(Path.cwd())} is not up-to-date. "
          f"Please run this command to update it: {update_command}"
      )
      diff = "".join(
          difflib.ndiff(
              existing_schema.splitlines(keepends=True),
              latest_schema.splitlines(keepends=True),
          )
      )
      rel_path = schema_path.relative_to(Path.cwd())
      message = f"""
  =================================== EXPECTED ===================================
  {latest_schema}
  ==================================== ACTUAL ====================================
  {existing_schema}
  ===================================== DIFF =====================================
  {diff}
  ================================== HOW TO FIX ==================================
  Manually copy & paste the expected schema in {rel_path} or run the following command:
  {update_command}
  """
      assert schema_equal(existing_schema, latest_schema), message
  
imports: import difflib
  import re
  from collections import namedtuple
  from pathlib import Path
  import pytest
  import sqlalchemy
  from packaging.version import Version
  from sqlalchemy import create_engine
  from sqlalchemy.schema import CreateTable, MetaData
  import mlflow
  from mlflow.environment_variables import MLFLOW_TRACKING_URI
label_desc: Use image node_id 11 for calling a global function with example usage: test_schema_is_up_to_date() without return types