def test_GetFirstScan_outputs():
    output_map = dict(m0_file=dict(), )
    outputs = GetFirstScan.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
def test_GetFirstScan_outputs():
    output_map = dict(m0_file=dict(),
    )
    outputs = GetFirstScan.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
def test_GetFirstScan_inputs():
    input_map = dict(ignore_exception=dict(nohash=True,
    usedefault=True,
    ),
    in_file=dict(copyfile=True,
    mandatory=True,
    ),
    )
    inputs = GetFirstScan.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_GetFirstScan_inputs():
    input_map = dict(
        ignore_exception=dict(
            nohash=True,
            usedefault=True,
        ),
        in_file=dict(
            copyfile=True,
            mandatory=True,
        ),
    )
    inputs = GetFirstScan.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