# 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(ignore_exception=dict(nohash=True,
    usedefault=True,
    ),
    labels=dict(mandatory=True,
    ),
    output_file=dict(),
    hemi=dict(usedefault=True,
    ),
    dilation_size=dict(usedefault=True,
    ),
    atlas=dict(mandatory=True,
    ),
    )
    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
