# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
from nipype.testing import assert_equal
from nipype.interfaces.afni.preprocess import BlurInMask
def test_BlurInMask_inputs():
    input_map = dict(preserve=dict(argstr='-preserve',
    ),
    ignore_exception=dict(nohash=True,
    usedefault=True,
    ),
    out_file=dict(name_source='in_file',
    name_template='%s_blur',
    position=-1,
    argstr='-prefix %s',
    ),
    automask=dict(argstr='-automask',
    ),
    args=dict(argstr='%s',
    ),
    mask=dict(argstr='-mask %s',
    ),
    outputtype=dict(),
    float_out=dict(argstr='-float',
    ),
    terminal_output=dict(mandatory=True,
    nohash=True,
    ),
    environ=dict(nohash=True,
    usedefault=True,
    ),
    in_file=dict(copyfile=False,
    mandatory=True,
    position=1,
    argstr='-input %s',
    ),
    multimask=dict(argstr='-Mmask %s',
    ),
    fwhm=dict(mandatory=True,
    argstr='-FWHM %f',
    ),
    options=dict(position=2,
    argstr='%s',
    ),
    )
    inputs = BlurInMask.input_spec()

    for key, metadata in input_map.items():
        for metakey, value in metadata.items():
            yield assert_equal, getattr(inputs.traits()[key], metakey), value
def test_BlurInMask_outputs():
    output_map = dict(out_file=dict(),
    )
    outputs = BlurInMask.output_spec()

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