code: def mock_lmdb_parser(features_folder, output_folder):
      args = argparse.Namespace()
      args.mode = "convert"
      args.features_folder = features_folder
      args.lmdb_path = os.path.join(output_folder, "features.lmdb")
  
      parser = argparse.ArgumentParser(
          formatter_class=argparse.RawTextHelpFormatter
      )
      parser.parse_args = lambda: args
      return lambda _: parser
  
file_path: mmf/tools/scripts/tests/generate_test_data.py
imports: import argparse
  import json
  import os
  import shutil
  import numpy
  from tools.scripts.features.lmdb_conversion import LMDBConversion
label_desc: Use image node_id 1 for calling a global function with example usage: mock_lmdb_parser(features_folder, output_folder) and returns: function