Commit 64751c05 authored by Łukasz Nowak's avatar Łukasz Nowak

- whitespace removal


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29941 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f1a6c6a7
...@@ -249,13 +249,13 @@ class TestSelectionPersistence(unittest.TestCase): ...@@ -249,13 +249,13 @@ class TestSelectionPersistence(unittest.TestCase):
self.cnx.root().portal_selections = SelectionTool() self.cnx.root().portal_selections = SelectionTool()
self.portal_selections.setSelectionFor('test_selection', Selection()) self.portal_selections.setSelectionFor('test_selection', Selection())
transaction.commit() transaction.commit()
def tearDown(self): def tearDown(self):
# revert the patch from setUp # revert the patch from setUp
SelectionTool._getUserId = SelectionTool._getUserId_saved SelectionTool._getUserId = SelectionTool._getUserId_saved
self.cnx.close() self.cnx.close()
ZODButil.cleanDB() ZODButil.cleanDB()
def _runWithAnotherConnection(self, thread_func): def _runWithAnotherConnection(self, thread_func):
"""runs `thread_func` with another ZODB connection """runs `thread_func` with another ZODB connection
......
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