Commit adeb2b00 authored by Jérome Perrin's avatar Jérome Perrin

call tic, to make sure that there are no invalid activities created by cell

range renaming


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26608 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 905e5efd
...@@ -40,6 +40,7 @@ try: ...@@ -40,6 +40,7 @@ try:
except ImportError: except ImportError:
pass pass
class TestXMLMatrix(ERP5TypeTestCase): class TestXMLMatrix(ERP5TypeTestCase):
""" """
Tests the Cell API Tests the Cell API
...@@ -179,6 +180,11 @@ class TestXMLMatrix(ERP5TypeTestCase): ...@@ -179,6 +180,11 @@ class TestXMLMatrix(ERP5TypeTestCase):
self.assertEqual(getattr(cell, 'test_id', None), value_list[i]) self.assertEqual(getattr(cell, 'test_id', None), value_list[i])
i += 1 i += 1
# now commit transaction to make sure there are no activities for cells
# that no longer exists.
get_transaction().commit()
self.tic()
def checkSetCellRangeAndCatalog(self, active=1): def checkSetCellRangeAndCatalog(self, active=1):
""" """
Tests if set Cell range do well catalog and uncatalog Tests if set Cell range do well catalog and uncatalog
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment