code: def parse_args():
      parser = argparse.ArgumentParser(
          description="L0 test runner",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument(
          "--include",
          nargs="+",
          choices=TEST_DIRS,
          default=DEFAULT_TEST_DIRS,
          help="select a set of tests to run (defaults to ALL tests).",
      )
      parser.add_argument(
          "--xml-report",
          default=None,
          action="store_true",
          help="[deprecated] pass this argument to get a junit xml report. Use `--xml-dir`. (requires `xmlrunner`)",
      )
      parser.add_argument(
          "--xml-dir",
          default=None,
          type=str,
          help="Directory to save junit test reports. (requires `xmlrunner`)",
      )
      args, _ = parser.parse_known_args()
      return args
  
imports: import argparse
  import os
  import unittest
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: parse_args() and returns: args