code: def test_mapping_target_args():
      parser = argparse.ArgumentParser()
      generate_target_args(parser)
      parsed, _ = parser.parse_known_args(
          ["--target=llvm", "--target-llvm-mcpu=cortex-m3"]
      )
      assert reconstruct_target_args(parsed) == {
          "llvm": {"mcpu": "cortex-m3"}
      }
  
file_path: tvm/tests/python/driver/tvmc/test_target_options.py
imports: import argparse
  import pytest
  import tvm
  from tvm.driver.tvmc import TVMCException
  from tvm.driver.tvmc.target import generate_target_args, reconstruct_target_args, target_from_cli
label_desc: Use image node_id 3 for calling a global function with example usage: test_mapping_target_args() without return types