# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
from nipype.testing import assert_equal
from nipype.interfaces.freesurfer.preprocess import DICOMConvert
def test_DICOMConvert_inputs():
    input_map = dict(ignore_exception=dict(nohash=True,
    usedefault=True,
    ),
    args=dict(argstr='%s',
    ),
    ignore_single_slice=dict(requires=['dicom_info'],
    ),
    base_output_dir=dict(mandatory=True,
    ),
    out_type=dict(usedefault=True,
    ),
    seq_list=dict(requires=['dicom_info'],
    ),
    terminal_output=dict(mandatory=True,
    nohash=True,
    ),
    environ=dict(nohash=True,
    usedefault=True,
    ),
    subjects_dir=dict(),
    dicom_dir=dict(mandatory=True,
    ),
    subject_dir_template=dict(usedefault=True,
    ),
    file_mapping=dict(),
    subject_id=dict(),
    dicom_info=dict(),
    )
    inputs = DICOMConvert.input_spec()

    for key, metadata in input_map.items():
        for metakey, value in metadata.items():
            yield assert_equal, getattr(inputs.traits()[key], metakey), value
