Commit 0e53ab03 authored by Julien Muchembled's avatar Julien Muchembled

Fix test_167_InstanceAndRelatedClassDefinedInSameBT wrt [38348]

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38374 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d6b74974
...@@ -6634,7 +6634,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): ...@@ -6634,7 +6634,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
portal = self.portal portal = self.portal
BaseTemplateItem_removeProperties = BaseTemplateItem.removeProperties BaseTemplateItem_removeProperties = BaseTemplateItem.removeProperties
marker_list = [] marker_list = []
def removeProperties(self, obj): def removeProperties(self, obj, export):
# Check it works if the object is modified during download. # Check it works if the object is modified during download.
obj.int_index = marker_list.pop() obj.int_index = marker_list.pop()
return obj return obj
......
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