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

def test_MergeCSVFiles_inputs():
    input_map = dict(column_headings=dict(),
    extra_column_heading=dict(),
    extra_field=dict(),
    in_files=dict(mandatory=True,
    ),
    out_file=dict(usedefault=True,
    ),
    row_heading_title=dict(usedefault=True,
    ),
    row_headings=dict(),
    )
    inputs = MergeCSVFiles.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_MergeCSVFiles_outputs():
    output_map = dict(csv_file=dict(),
    )
    outputs = MergeCSVFiles.output_spec()

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

