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

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


Log message for revision 40945:
  Close request properly.
  

Changed:
  U   CMF/branches/1.6/CMFCore/tests/base/testcase.py

-=-
Modified: CMF/branches/1.6/CMFCore/tests/base/testcase.py
===================================================================
--- CMF/branches/1.6/CMFCore/tests/base/testcase.py	2005-12-21 12:03:25 UTC (rev 40944)
+++ CMF/branches/1.6/CMFCore/tests/base/testcase.py	2005-12-21 12:07:18 UTC (rev 40945)
@@ -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