Commit 6e6f07ca authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

check only if the new catalog does not miss anything, because the original...

check only if the new catalog does not miss anything, because the original catalog before reindexAll can be imperfect by other tests, that are bad though...
parent fccf5f8c
......@@ -486,7 +486,6 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
# Check if all objects are catalogued as before
new_path_list = self.getSQLPathList()
self.assertEquals(set(original_path_list) - set(new_path_list), set())
self.assertEquals(set(new_path_list) - set(original_path_list), set())
def test_14_ReindexWithBrokenCategory(self, quiet=quiet, run=run_all_test):
if not run: return
......@@ -1532,6 +1531,9 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
# Flush message queue
self.tic()
original_path_list = self.getSQLPathList(self.original_connection_id)
new_path_list = self.getSQLPathList(self.new_connection_id)
self.assertEquals(set(original_path_list) - set(new_path_list), set())
self.organisation2 = module.newContent(portal_type='Organisation',
title="GreatTitle2")
first_deleted_url = self.organisation2.getRelativeUrl()
......
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