[Zope3-checkins] CVS: Zope3/src/zope/app/browser/applicationcontrol/tests - test_runtimeinfoview.py:1.7.16.1

Jim Fulton cvs-admin at zope.org
Tue Nov 18 17:26:49 EST 2003


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

Modified Files:
      Tag: adaptergeddon-branch
	test_runtimeinfoview.py 
Log Message:
Implemented local presentation services.


=== Zope3/src/zope/app/browser/applicationcontrol/tests/test_runtimeinfoview.py 1.7 => 1.7.16.1 ===
--- Zope3/src/zope/app/browser/applicationcontrol/tests/test_runtimeinfoview.py:1.7	Thu Jul 31 17:37:31 2003
+++ Zope3/src/zope/app/browser/applicationcontrol/tests/test_runtimeinfoview.py	Tue Nov 18 17:26:17 2003
@@ -17,6 +17,7 @@
 """
 import unittest
 from types import DictType
+from zope.app.tests import ztapi
 
 from zope.app.applicationcontrol.applicationcontrol import applicationController
 from zope.app.applicationcontrol.runtimeinfo import RuntimeInfo
@@ -36,8 +37,7 @@
         return view
 
     def test_RuntimeInfoView(self):
-        getService(None,Adapters).provideAdapter(
-              IApplicationControl, IRuntimeInfo, RuntimeInfo)
+        ztapi.provideAdapter(IApplicationControl, IRuntimeInfo, RuntimeInfo)
         test_runtimeinfoview = self._TestView__newView(applicationController)
 
         test_format = test_runtimeinfoview.runtimeInfo()




More information about the Zope3-Checkins mailing list