code: def test_CreateTiledMosaic_inputs():
      input_map = dict(
          alpha_value=dict(
              argstr="-a %.2f",
          ),
          args=dict(
              argstr="%s",
          ),
          direction=dict(
              argstr="-d %d",
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          flip_slice=dict(
              argstr="-f %s",
          ),
          input_image=dict(
              argstr="-i %s",
              extensions=None,
              mandatory=True,
          ),
          mask_image=dict(
              argstr="-x %s",
              extensions=None,
          ),
          num_threads=dict(
              nohash=True,
              usedefault=True,
          ),
          output_image=dict(
              argstr="-o %s",
              usedefault=True,
          ),
          pad_or_crop=dict(
              argstr="-p %s",
          ),
          permute_axes=dict(
              argstr="-g",
          ),
          rgb_image=dict(
              argstr="-r %s",
              extensions=None,
              mandatory=True,
          ),
          slices=dict(
              argstr="-s %s",
          ),
          tile_geometry=dict(
              argstr="-t %s",
          ),
      )
      inputs = CreateTiledMosaic.input_spec()
  
      for key, metadata in list(input_map.items()):
          for metakey, value in list(metadata.items()):
              assert getattr(inputs.traits()[key], metakey) == value
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_CreateTiledMosaic_inputs() without return types