[Zope3-checkins] CVS: Zope3/src/zope/app/tests - placelesssetup.py:1.5
Jim Fulton
jim@zope.com
Thu, 22 May 2003 18:48:08 -0400
Update of /cvs-repository/Zope3/src/zope/app/tests
In directory cvs.zope.org:/tmp/cvs-serv12356/src/zope/app/tests
Modified Files:
placelesssetup.py
Log Message:
Added module-level functions for use in doctest-based unit tests.
=== Zope3/src/zope/app/tests/placelesssetup.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/tests/placelesssetup.py:1.4 Sat May 3 12:33:39 2003
+++ Zope3/src/zope/app/tests/placelesssetup.py Thu May 22 18:48:07 2003
@@ -40,3 +40,8 @@
I18nPlacelessSetup.setUp(self)
# Register app-specific security declarations
protect()
+
+ps = PlacelessSetup()
+setUp = ps.setUp
+tearDown = ps.tearDown
+del ps