Commit 2062ae6b authored by Vincent Pelletier's avatar Vincent Pelletier

testERP5Catalog: Make one failure message more helpful.

parent e00338be
...@@ -1328,7 +1328,10 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor): ...@@ -1328,7 +1328,10 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
self.tic() self.tic()
original_path_list = self.getSQLPathList(self.original_connection_id) original_path_list = self.getSQLPathList(self.original_connection_id)
new_path_list = self.getSQLPathList(self.new_connection_id) new_path_list = self.getSQLPathList(self.new_connection_id)
self.assertTrue(set(original_path_list).issubset(new_path_list)) self.assertTrue(
set(original_path_list).issubset(new_path_list),
set(original_path_list).difference(new_path_list),
)
self.organisation2 = module.newContent(portal_type='Organisation', self.organisation2 = module.newContent(portal_type='Organisation',
title="GreatTitle2") title="GreatTitle2")
first_deleted_url = self.organisation2.getRelativeUrl() 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