# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
from nipype.testing import assert_equal
from nipype.interfaces.fsl.model import MultipleRegressDesign

def test_MultipleRegressDesign_inputs():
    input_map = dict(contrasts=dict(mandatory=True,
    ),
    groups=dict(),
    ignore_exception=dict(nohash=True,
    usedefault=True,
    ),
    regressors=dict(mandatory=True,
    ),
    )
    inputs = MultipleRegressDesign.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_MultipleRegressDesign_outputs():
    output_map = dict(design_con=dict(),
    design_fts=dict(),
    design_grp=dict(),
    design_mat=dict(),
    )
    outputs = MultipleRegressDesign.output_spec()

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

