[Zope3-checkins] CVS: Zope3/src/zope/app/tests - placelesssetup.py:1.3.10.1

Jim Fulton jim@zope.com
Fri, 2 May 2003 14:56:14 -0400


Update of /cvs-repository/Zope3/src/zope/app/tests
In directory cvs.zope.org:/tmp/cvs-serv2097/src/zope/app/tests

Modified Files:
      Tag: interfacegeddon-branch
	placelesssetup.py 
Log Message:
Got unit tests to pass (and made this branch a full branch).

I'll make detailed comments when I merge.


=== Zope3/src/zope/app/tests/placelesssetup.py 1.3 => 1.3.10.1 ===
--- Zope3/src/zope/app/tests/placelesssetup.py:1.3	Tue Mar 25 15:42:53 2003
+++ Zope3/src/zope/app/tests/placelesssetup.py	Fri May  2 14:55:41 2003
@@ -25,7 +25,7 @@
      import PlacelessSetup as EventPlacelessSetup
 from zope.app.i18n.tests.placelesssetup \
      import PlacelessSetup as I18nPlacelessSetup
-
+from zope.app.security._protections import protect
 
 class PlacelessSetup(CAPlacelessSetup,
                      ACAPlacelessSetup,
@@ -38,3 +38,5 @@
         ACAPlacelessSetup.setUp(self)
         EventPlacelessSetup.setUp(self)
         I18nPlacelessSetup.setUp(self)
+        # Register app-specific security declarations
+        protect()