[Zope3-checkins] SVN: Zope3/trunk/src/zope/publisher/tests/test_browser.py Add missing cleanup code to zope.publisher unit tests.

Marius Gedminas marius at pov.lt
Sat Jan 20 08:04:09 EST 2007


Log message for revision 72134:
  Add missing cleanup code to zope.publisher unit tests.
  
  

Changed:
  U   Zope3/trunk/src/zope/publisher/tests/test_browser.py

-=-
Modified: Zope3/trunk/src/zope/publisher/tests/test_browser.py
===================================================================
--- Zope3/trunk/src/zope/publisher/tests/test_browser.py	2007-01-20 13:01:58 UTC (rev 72133)
+++ Zope3/trunk/src/zope/publisher/tests/test_browser.py	2007-01-20 13:04:08 UTC (rev 72134)
@@ -17,12 +17,15 @@
 """
 import unittest
 from zope.testing.doctestunit import DocTestSuite
+from zope.app.testing import setup
 
 __docformat__ = "reStructuredText"
 
 def test_suite():
     return unittest.TestSuite((
-        DocTestSuite('zope.publisher.browser'),
+        DocTestSuite('zope.publisher.browser',
+                     setUp=setup.placelessSetUp,
+                     tearDown=setup.placelessTearDown),
         ))
 
 if __name__ == '__main__':



More information about the Zope3-Checkins mailing list