TEST test_ocb70 openerp.tools.yaml_import: 2. Duplicate the parent category and verify that the children have been duplicated too and are below the new parent
ERROR test_ocb70 openerp.tools.yaml_import: AssertionError in Python code : After duplication, previous record must have old childs records only
TEST test_ocb70 openerp.tools.yaml_import: 3. Duplicate the children then reassign them to the new parent (1st method) and check the parent_store structure.
ERROR test_ocb70 openerp.tools.yaml_import: AssertionError in Python code : After duplication, previous record must have old childs records only
TEST test_ocb70 openerp.tools.yaml_import: 4. Duplicate the children then reassign them to the new parent (2nd method) and check the parent_store structure.
ERROR test_ocb70 openerp.tools.yaml_import: AssertionError in Python code : After duplication, previous record must have old childs records only
TEST test_ocb70 openerp.tools.yaml_import: 5. Duplicate the children then reassign them to the new parent (3rd method) and make sure the parent_store structure is still right.
ERROR test_ocb70 openerp.tools.yaml_import: AssertionError in Python code : After duplication, previous record must have old childs records only
Can you please check this, and adapt the tests (which seem to have some assumptions broken by your changes) or fix the code in yaml_import?
This patch breaks the yaml_import tests.
Extract from the logs:
TEST test_ocb70 openerp. tools.yaml_ import: 2. Duplicate the parent category and verify that the children have been duplicated too and are below the new parent tools.yaml_ import: AssertionError in Python code : After duplication, previous record must have old childs records only tools.yaml_ import: 3. Duplicate the children then reassign them to the new parent (1st method) and check the parent_store structure. tools.yaml_ import: AssertionError in Python code : After duplication, previous record must have old childs records only tools.yaml_ import: 4. Duplicate the children then reassign them to the new parent (2nd method) and check the parent_store structure. tools.yaml_ import: AssertionError in Python code : After duplication, previous record must have old childs records only tools.yaml_ import: 5. Duplicate the children then reassign them to the new parent (3rd method) and make sure the parent_store structure is still right. tools.yaml_ import: AssertionError in Python code : After duplication, previous record must have old childs records only
ERROR test_ocb70 openerp.
TEST test_ocb70 openerp.
ERROR test_ocb70 openerp.
TEST test_ocb70 openerp.
ERROR test_ocb70 openerp.
TEST test_ocb70 openerp.
ERROR test_ocb70 openerp.
Can you please check this, and adapt the tests (which seem to have some assumptions broken by your changes) or fix the code in yaml_import?