Commit b93b9df1 authored by Aurel's avatar Aurel

clear cache between test


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18891 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7f4e98aa
...@@ -56,6 +56,7 @@ class TestPasswordTool(ERP5TypeTestCase): ...@@ -56,6 +56,7 @@ class TestPasswordTool(ERP5TypeTestCase):
portal.manage_delObjects(['MailHost']) portal.manage_delObjects(['MailHost'])
portal._setObject('MailHost', DummyMailHost('MailHost')) portal._setObject('MailHost', DummyMailHost('MailHost'))
portal.email_from_address = 'site@example.invalid' portal.email_from_address = 'site@example.invalid'
self.portal.portal_caches.clearAllCache()
def beforeTearDown(self): def beforeTearDown(self):
get_transaction().abort() get_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