code: def test_DWIConvert_inputs():
      input_map = dict(
          allowLossyConversion=dict(
              argstr="--allowLossyConversion ",
          ),
          args=dict(
              argstr="%s",
          ),
          conversionMode=dict(
              argstr="--conversionMode %s",
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          fMRI=dict(
              argstr="--fMRI ",
          ),
          fslNIFTIFile=dict(
              argstr="--fslNIFTIFile %s",
              extensions=None,
          ),
          gradientVectorFile=dict(
              argstr="--gradientVectorFile %s",
              hash_files=False,
          ),
          inputBValues=dict(
              argstr="--inputBValues %s",
              extensions=None,
          ),
          inputBVectors=dict(
              argstr="--inputBVectors %s",
              extensions=None,
          ),
          inputDicomDirectory=dict(
              argstr="--inputDicomDirectory %s",
          ),
          inputVolume=dict(
              argstr="--inputVolume %s",
              extensions=None,
          ),
          outputBValues=dict(
              argstr="--outputBValues %s",
              hash_files=False,
          ),
          outputBVectors=dict(
              argstr="--outputBVectors %s",
              hash_files=False,
          ),
          outputDirectory=dict(
              argstr="--outputDirectory %s",
              hash_files=False,
          ),
          outputVolume=dict(
              argstr="--outputVolume %s",
              hash_files=False,
          ),
          smallGradientThreshold=dict(
              argstr="--smallGradientThreshold %f",
          ),
          transposeInputBVectors=dict(
              argstr="--transposeInputBVectors ",
          ),
          useBMatrixGradientDirections=dict(
              argstr="--useBMatrixGradientDirections ",
          ),
          useIdentityMeaseurementFrame=dict(
              argstr="--useIdentityMeaseurementFrame ",
          ),
          writeProtocolGradientsFile=dict(
              argstr="--writeProtocolGradientsFile ",
          ),
      )
      inputs = DWIConvert.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_DWIConvert_inputs() without return types