[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests - testApplicationControl.py:1.1.2.4.8.1 testRuntimeInfo.py:1.1.2.6.2.1
Jim Fulton
jim@zope.com
Wed, 29 May 2002 11:10:08 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests
In directory cvs.zope.org:/tmp/cvs-serv12181/lib/python/Zope/App/OFS/ApplicationControl/tests
Modified Files:
Tag: Zope3InWonderland-branch
testApplicationControl.py testRuntimeInfo.py
Log Message:
- Added permission_id attribute to adapter and utility directives.
- Got rid of old getView, getResource, and getDefaultViewName.
Renamed getRequestView to getView (and so on).
Changed view interface to use context, rather than getContext.
Introduced notion of presentation types (e.g. IBrowserPresentation,
which is cleaner than IBrowserPublisher).
- Began converting to get/queryFoo, which is much nicer.
- Many formatting fixups.
=== Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests/testApplicationControl.py 1.1.2.4 => 1.1.2.4.8.1 ===
import time
-from Zope.ComponentArchitecture import getUtility
from Zope.App.OFS.ApplicationControl.ApplicationControl import \
ApplicationControl
from Zope.App.OFS.ApplicationControl.IApplicationControl import \
=== Zope3/lib/python/Zope/App/OFS/ApplicationControl/tests/testRuntimeInfo.py 1.1.2.6 => 1.1.2.6.2.1 ===
import os, sys, time
-from Zope.ComponentArchitecture import getUtility, getService
+from Zope.ComponentArchitecture import getService
from Zope.App.OFS.ApplicationControl.IRuntimeInfo import IRuntimeInfo
from Zope.App.OFS.ApplicationControl.ApplicationControl import \
ApplicationController