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

Jim Fulton jim@zope.com
Sat, 3 May 2003 12:33:39 -0400


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

Modified Files:
	placelesssetup.py 
Log Message:
Added code to cade to call zope.app.security._protections.protect.
This is necessary to get all the necessary security settings in place
for tests.



=== Zope3/src/zope/app/tests/placelesssetup.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/tests/placelesssetup.py:1.3	Tue Mar 25 15:42:53 2003
+++ Zope3/src/zope/app/tests/placelesssetup.py	Sat May  3 12:33:39 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()