

def test_process_data_list(self):
    raw_data = [{
        'foo': 'a',
        'bar': {
            'baz': 'b',
        },
        'bof': 'c',
    }, {
        'foo': 'x',
        'bar': {
            'baz': 'y',
        },
        'bof': None,
    }]
    name = str(uuid.uuid4())
    root_path = ('test/%s' % name)
    desc = 'flimp unit-test suite'
    about = None
    allowEmpty = True
    process_data_list(raw_data, raw_data, name, desc, about, allowEmpty)
    result = Object.filter(('has %s/foo' % root_path))
    self.assertEqual(2, len(result))
    for obj in result:
        self.assertEqual(3, len(obj.tag_paths))

dataset/ETHPy150Open fluidinfo/flimp/tests/test_utils.py TestUtils.test_process_data_list/VarMisuse@101/155 `root_path`->`raw_data`