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

Jim Fulton jim at zope.com
Sun Apr 11 14:16:33 EDT 2004


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

Modified Files:
	placelesssetup.py 
Log Message:
Added a zcml definition of zope.Public. This was previously defined in
Python, in a way that depended on getting to the global utility
service via a global variable.

Moved the python code to zope.app.security.tests for use in tests.
This is now called by placelesssetup.


=== Zope3/src/zope/app/tests/placelesssetup.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/tests/placelesssetup.py:1.12	Sat Mar 13 22:44:07 2004
+++ Zope3/src/zope/app/tests/placelesssetup.py	Sun Apr 11 14:16:32 2004
@@ -43,7 +43,10 @@
         protect()
 
         ztapi.browserView(None, 'absolute_url', AbsoluteURL)
-        
+
+        from zope.app.security.tests import addCheckerPublic
+        addCheckerPublic()
+
 
 ps = PlacelessSetup()
 setUp = ps.setUp




More information about the Zope3-Checkins mailing list