# AUTO-GENERATED by tools/checkspecs.py - DO NOT EDIT
from nipype.testing import assert_equal
from nipype.algorithms.misc import PickAtlas

def test_PickAtlas_inputs():
    input_map = dict(atlas=dict(mandatory=True,
    ),
    dilation_size=dict(usedefault=True,
    ),
    hemi=dict(usedefault=True,
    ),
    ignore_exception=dict(nohash=True,
    usedefault=True,
    ),
    labels=dict(mandatory=True,
    ),
    output_file=dict(),
    )
    inputs = PickAtlas.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_PickAtlas_outputs():
    output_map = dict(mask_file=dict(),
    )
    outputs = PickAtlas.output_spec()

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

