Commit 21a7feda authored by Julien Muchembled's avatar Julien Muchembled

Make sure gc is reenabled if test_167_InstanceAndRelatedClassDefinedInSameBT fails

parent 4b4b4a1a
......@@ -6383,6 +6383,7 @@ class TestBusinessTemplate(BusinessTemplateMixin):
BaseTemplateItem.removeProperties = BaseTemplateItem_removeProperties
SimpleItem._getCopy = SimpleItem_getCopy
# check the previously existing instance now behaves as the overriden class
self.assertTrue(getattr(portal.another_file, 'isClassOverriden', False))
# test uninstall is effective
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