def test_process_data_list(self):
        # setup
        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, root_path, name, desc, about, allowEmpty)
        # check we have two objects each with three tags attached
        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/operator `%` -> `-`