Commit 785e7292 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

do not skip beforeSetUp() that begins a new transaction by default.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19498 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f777c188
...@@ -788,6 +788,7 @@ def dummy_setUp(self): ...@@ -788,6 +788,7 @@ def dummy_setUp(self):
enabled enabled
''' '''
try: try:
self.beforeSetUp()
self.app = self._app() self.app = self._app()
self.portal = self._portal() self.portal = self._portal()
self._setup() self._setup()
...@@ -797,9 +798,9 @@ def dummy_setUp(self): ...@@ -797,9 +798,9 @@ def dummy_setUp(self):
def dummy_tearDown(self): def dummy_tearDown(self):
''' '''
This one is overloaded so that it dos not execute beforeTearDown and This one is overloaded so that it dos not execute beforeTearDown from
afterTearDown from the original tests, which would write to the the original tests, which would write to the FileStorage when --save
FileStorage when --save is enabled is enabled
''' '''
self._close() self._close()
......
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