[CMF-checkins] SVN: CMF/trunk/C Merge from 1.6 branch: close
request properly.
Florent Guillaume
fg at nuxeo.com
Tue Dec 20 19:28:00 EST 2005
Log message for revision 40931:
Merge from 1.6 branch: close request properly.
Changed:
U CMF/trunk/CHANGES.txt
U CMF/trunk/CMFCore/tests/base/testcase.py
U CMF/trunk/CMFCore/tests/testCookieCrumbler.py
-=-
Modified: CMF/trunk/CHANGES.txt
===================================================================
--- CMF/trunk/CHANGES.txt 2005-12-21 00:25:48 UTC (rev 40930)
+++ CMF/trunk/CHANGES.txt 2005-12-21 00:27:59 UTC (rev 40931)
@@ -262,6 +262,8 @@
- Workflow: Removed deprecated WorkflowMethod machinery.
+ - Made unit tests close the request properly.
+
CMF 1.5.x
For a complete list see CHANGES.txt of CMF-1_5-branch.
Modified: CMF/trunk/CMFCore/tests/base/testcase.py
===================================================================
--- CMF/trunk/CMFCore/tests/base/testcase.py 2005-12-21 00:25:48 UTC (rev 40930)
+++ CMF/trunk/CMFCore/tests/base/testcase.py 2005-12-21 00:27:59 UTC (rev 40931)
@@ -125,6 +125,9 @@
self.REQUEST = root.REQUEST
self.RESPONSE = root.REQUEST.RESPONSE
+ def tearDown(self):
+ self.REQUEST.close()
+ TransactionalTest.tearDown(self)
class SecurityTest( TestCase ):
Modified: CMF/trunk/CMFCore/tests/testCookieCrumbler.py
===================================================================
--- CMF/trunk/CMFCore/tests/testCookieCrumbler.py 2005-12-21 00:25:48 UTC (rev 40930)
+++ CMF/trunk/CMFCore/tests/testCookieCrumbler.py 2005-12-21 00:27:59 UTC (rev 40931)
@@ -91,6 +91,7 @@
def tearDown(self):
+ self.req.close()
noSecurityManager()
def test_z3interfaces(self):
More information about the CMF-checkins
mailing list