def test__append_list(self):

        # If the element value equal like this
        element = ['word', 'wfw', 'graid1']

        # The result expected should be
        expected_result = [{'id': None, 'annotation': ''},
                           {'id': None, 'annotation': ''},
                           {'id': None, 'annotation': ''}]

        assert (self.data_structure_type._append_list(
            element) == expected_result)
Raise an assertion if the elements list is invalid.
dataset/ETHPy150Open cidles/poio-api/src/poioapi/tests/test_data.py/TestDataStructureType.test__append_list