Commit 95dd1640 authored by Julien Muchembled's avatar Julien Muchembled

Fix test_167_InstanceAndRelatedClassDefinedInSameBT

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35709 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c297c12e
......@@ -6451,6 +6451,9 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
portal._setObject('another_file', File('another_file'))
transaction.commit()
self.tic()
# logged errors could keep a reference to a traceback having a reference
# to 'another_file' object
del self.logged[:]
# check its class has not yet been overriden
self.assertFalse(getattr(portal.another_file, 'isClassOverriden', False))
for i in xrange(6):
......
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