Commit 70fd4a77 authored by Jérome Perrin's avatar Jérome Perrin

calling get_transaction().commit() and ZopeTestCase.close(app) twice is not

necessary.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20218 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b0c5e231
......@@ -731,9 +731,6 @@ class ERP5TypeTestCase(PortalTestCase):
# Quit the test in order to get a clean site
if not quiet:
ZopeTestCase._print('done (%.3fs)\n' % (time.time()-_start,))
get_transaction().commit()
ZopeTestCase.close(app)
if not quiet:
ZopeTestCase._print('Data.fs created\n')
get_transaction().commit()
ZopeTestCase.close(app)
......
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