code: def fix_filter(flt):
      if TEST_SUBTEST_SEPARATOR not in flt and "*" not in flt:
          # user wants to filter by test module name
          flt = flt + TEST_SUBTEST_SEPARATOR + "*"
      return flt
  
file_path: catboost/library/python/testing/filter/filter.py
imports: import re
  import fnmatch
  import logging
label_desc: Use image node_id 1 for calling a global function with example usage: fix_filter(flt) and returns: flt