# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
from ....testing import assert_equal
from ..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 list(input_map.items()):
        for metakey, value in list(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 list(output_map.items()):
        for metakey, value in list(metadata.items()):
            yield assert_equal, getattr(outputs.traits()[key], metakey), value
