[CMF-checkins] SVN: CMF/trunk/CMFCore/tests/base/testcase.py Close request properly.

Florent Guillaume fg at nuxeo.com
Wed Dec 21 07:08:12 EST 2005


Log message for revision 40946:
  Close request properly.

Changed:
  U   CMF/trunk/CMFCore/tests/base/testcase.py

-=-
Modified: CMF/trunk/CMFCore/tests/base/testcase.py
===================================================================
--- CMF/trunk/CMFCore/tests/base/testcase.py	2005-12-21 12:07:18 UTC (rev 40945)
+++ CMF/trunk/CMFCore/tests/base/testcase.py	2005-12-21 12:08:11 UTC (rev 40946)
@@ -152,6 +152,10 @@
         SecurityTest.setUp(self)
         self.root = makerequest(self.root)
 
+    def tearDown(self):
+        self.root.REQUEST.close()
+        SecurityTest.tearDown(self)
+
 try:
     __file__
 except NameError:



More information about the CMF-checkins mailing list