code: def test_args(self):
      args = self.parser.parse_args(
          ["key", ANNOTATIONS_PATH, DETECTIONS_PATH]
      )
      self.assertTrue(args.ann_dir is None)
      self.assertTrue(args.ann_suffix == ".key")
      self.assertTrue(args.det_dir is None)
      self.assertTrue(args.det_suffix == ".key.txt")
      self.assertTrue(args.eval == KeyEvaluation)
      self.assertTrue(args.files == [ANNOTATIONS_PATH, DETECTIONS_PATH])
      self.assertTrue(args.mean_eval == KeyMeanEvaluation)
      self.assertTrue(args.sum_eval is None)
      from madmom.evaluation import tostring
  
      self.assertTrue(args.output_formatter == tostring)
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  from madmom.evaluation.key import *
  from .None import ANNOTATIONS_PATH, DETECTIONS_PATH
label_desc: Use image node_id 2 for calling the TestAddParserFunction obj's underlying member method code with example usage: obj.test_args() without return types