code: def run_docker_compose_tests(
      image_name: str,
      extra_pytest_args: tuple,
      skip_docker_compose_deletion: bool,
  ) -> tuple[int, str]:
      command_result = run_command(
          ["docker", "inspect", image_name], check=False, stdout=DEVNULL
      )
      if command_result.returncode != 0:
          get_console().print(
              f"[error]Error when inspecting PROD image: {command_result.returncode}[/]"
          )
          return (
              command_result.returncode,
              f"Testing docker-compose python with {image_name}",
          )
      pytest_args = ("--color=yes",)
      test_path = (
          AIRFLOW_SOURCES_ROOT
          / "docker_tests"
          / "test_docker_compose_quick_start.py"
      )
      env = os.environ.copy()
      env["DOCKER_IMAGE"] = image_name
      if skip_docker_compose_deletion:
          env["SKIP_DOCKER_COMPOSE_DELETION"] = "true"
      command_result = run_command(
          [
              sys.executable,
              "-m",
              "pytest",
              str(test_path),
              *pytest_args,
              *extra_pytest_args,
          ],
          env=env,
          check=False,
      )
      return (
          command_result.returncode,
          f"Testing docker-compose python with {image_name}",
      )
  
file_path: airflow/dev/breeze/src/airflow_breeze/utils/run_tests.py
imports: from __future__ import annotations
  import os
  import re
  import sys
  from itertools import chain
  from subprocess import DEVNULL
  from airflow_breeze.utils.console import Output, get_console
  from airflow_breeze.utils.packages import get_suspended_provider_folders
  from airflow_breeze.utils.path_utils import AIRFLOW_SOURCES_ROOT
  from airflow_breeze.utils.run_utils import run_command
label_desc: Use image node_id 2 for calling a global function with example usage: run_docker_compose_tests(image_name, extra_pytest_args, skip_docker_compose_deletion) and returns: command_result,  str, image_name, command_result,  str, image_name