code: def test_filters():
      def _mock_names(self, v, d=None):
          return (
              "datalad1.goodone,datalad1.anotherone"
              if v == "names"
              else d
          )
  
      with patch.object(LoggerHelper, "_get_config", _mock_names):
          LoggerHelper("datalad1").get_initialized_logger()
          check_filters("datalad1")
  
      def _mock_namesre(self, v, d=None):
          return "datalad.*one" if v == "namesre" else d
  
      with patch.object(LoggerHelper, "_get_config", _mock_namesre):
          LoggerHelper("datalad2").get_initialized_logger()
          check_filters("datalad2")
  
imports: import inspect
  import logging
  import os.path
  from logging import makeLogRecord
  from os.path import exists
  from unittest.mock import patch
  from datalad import cfg
  from datalad.log import ColorFormatter, LoggerHelper, TraceBack, log_progress, with_progress, with_result_progress
  from datalad.support import ansi_colors
  from datalad.support.constraints import EnsureBool
  from datalad.tests.utils_pytest import SkipTest, assert_equal, assert_in, assert_no_open_files, assert_not_in, assert_re_in, known_failure_githubci_win, ok_, ok_endswith, ok_generator, swallow_logs, with_tempfile
  from datalad.utils import on_windows
label_desc: Use image node_id 5 for calling a global function with example usage: test_filters() and returns: unknown, unknown