code: def file_name_from_test_type(test_type: str):
      test_type_no_brackets = (
          test_type.lower().replace("[", "_").replace("]", "")
      )
      return re.sub("[,.]", "_", test_type_no_brackets)[:30]
  
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 3 for calling a global function with example usage: file_name_from_test_type(test_type) and returns: re