Commit bf9dab44 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

commit transaction and invoke tic at the end of afterSetUp().

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33588 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b9544691
...@@ -126,6 +126,8 @@ class TestInvoiceMixin(TestPackingListMixin, ...@@ -126,6 +126,8 @@ class TestInvoiceMixin(TestPackingListMixin,
if self.oldMailHost is not None: if self.oldMailHost is not None:
self.portal.manage_delObjects(['MailHost']) self.portal.manage_delObjects(['MailHost'])
self.portal._setObject('MailHost', DummyMailHost('MailHost')) self.portal._setObject('MailHost', DummyMailHost('MailHost'))
transaction.commit()
self.tic()
def beforeTearDown(self): def beforeTearDown(self):
transaction.abort() transaction.abort()
......
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