code: def _create_config(self):
      cfg_path = "config.py"
      cfg = ""
      cfg += "data_root = ''\n"
      cfg += "train_preparer=dict(\n"
      cfg += '    obtainer=dict(type="Fake"),\n'
      cfg += '    gatherer=dict(type="Fake"),\n'
      cfg += '    parser=dict(type="Fake"),\n'
      cfg += '    packer=dict(type="Fake"),\n'
      cfg += '    dumper=dict(type="Fake"),\n'
      cfg += ")\n"
      cfg += "test_preparer=dict(\n"
      cfg += '    obtainer=dict(type="Fake"),\n'
      cfg += ")\n"
      cfg += 'cfg_generator=dict(type="Fake")\n'
      cfg += f"delete = ['{cfg_path}']\n"
  
      with open(cfg_path, "w") as f:
          f.write(cfg)
      return cfg_path
  
file_path: mmocr/tests/test_datasets/test_preparers/test_data_preparer.py
imports: import os.path
  import unittest
  from mmengine import Config
  from mmocr.datasets.preparers import DatasetPreparer
  from mmocr.datasets.preparers.data_preparer import CFG_GENERATORS, DATA_DUMPERS, DATA_GATHERERS, DATA_OBTAINERS, DATA_PACKERS, DATA_PARSERS
label_desc: Use image node_id 1 for calling the TestDataPreparer obj's underlying member method code with example usage: obj._create_config() and returns: cfg_path