Commit 4c0f423d authored by Łukasz Nowak's avatar Łukasz Nowak

fixup! ERP5TypeTestCase: Make it compatible with "Live Tests"

parent f48d6e96
...@@ -429,10 +429,6 @@ class ERP5TypeTestCaseMixin(ProcessingNodeTestCase, PortalTestCase): ...@@ -429,10 +429,6 @@ class ERP5TypeTestCaseMixin(ProcessingNodeTestCase, PortalTestCase):
property_sheet_set.add(property_sheet_name) property_sheet_set.add(property_sheet_name)
ti.setTypePropertySheetList(list(property_sheet_set)) ti.setTypePropertySheetList(list(property_sheet_set))
# keep a mapping type info name -> property sheet list, to remove them in
# tear down.
if not hasattr(self, '_added_property_sheets'):
self._added_property_sheets = {}
# remember that we added a property sheet for tear down # remember that we added a property sheet for tear down
if getattr(self, '_added_property_sheets', None) is None: if getattr(self, '_added_property_sheets', None) is None:
self._added_property_sheets = {} self._added_property_sheets = {}
......
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