def test_CleanUpOverlapLabels_inputs(): input_map = dict(args=dict(argstr='%s', ), environ=dict(nohash=True, usedefault=True, ), ignore_exception=dict(nohash=True, usedefault=True, ), inputBinaryVolumes=dict(argstr='--inputBinaryVolumes %s...', ), outputBinaryVolumes=dict(argstr='--outputBinaryVolumes %s...', hash_files=False, ), terminal_output=dict(nohash=True, ), ) inputs = CleanUpOverlapLabels.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_CleanUpOverlapLabels_inputs(): input_map = dict( args=dict(argstr='%s', ), environ=dict( nohash=True, usedefault=True, ), ignore_exception=dict( nohash=True, usedefault=True, ), inputBinaryVolumes=dict(argstr='--inputBinaryVolumes %s...', ), outputBinaryVolumes=dict( argstr='--outputBinaryVolumes %s...', hash_files=False, ), terminal_output=dict(nohash=True, ), ) inputs = CleanUpOverlapLabels.input_spec() for key, metadata in input_map.items(): for metakey, value in metadata.items(): yield assert_equal, getattr(inputs.traits()[key], metakey), value