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

R. Sean Bowman sean.bowman@acm.org
Thu, 6 Feb 2003 01:50:28 -0500


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

Modified Files:
	test_runtimeinfoview.py test_servercontrolview.py 
Log Message:
finished changing service names to use strings defined in
zope/component/servicenames.py, changed the name of
ErrorReportingService to ErrorReports and Resources to ResourceService


=== Zope3/src/zope/app/browser/applicationcontrol/tests/test_runtimeinfoview.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/applicationcontrol/tests/test_runtimeinfoview.py:1.2	Wed Dec 25 09:12:27 2002
+++ Zope3/src/zope/app/browser/applicationcontrol/tests/test_runtimeinfoview.py	Thu Feb  6 01:48:50 2003
@@ -23,6 +23,7 @@
 from zope.app.browser.applicationcontrol.runtimeinfo \
   import RuntimeInfoView
 from zope.component import getService
+from zope.component.servicenames import Adapters
 from types import DictType
 from zope.app.services.tests.placefulsetup\
            import PlacefulSetup
@@ -33,7 +34,7 @@
         return RuntimeInfoView(container, None)
 
     def test_RuntimeInfoView(self):
-        getService(None,'Adapters').provideAdapter(
+        getService(None,Adapters).provideAdapter(
               IApplicationControl, IRuntimeInfo, RuntimeInfo)
         test_runtimeinfoview = self._TestView__newView(applicationController)
 


=== Zope3/src/zope/app/browser/applicationcontrol/tests/test_servercontrolview.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/applicationcontrol/tests/test_servercontrolview.py:1.2	Wed Dec 25 09:12:27 2002
+++ Zope3/src/zope/app/browser/applicationcontrol/tests/test_servercontrolview.py	Thu Feb  6 01:48:50 2003
@@ -22,6 +22,7 @@
 from zope.app.applicationcontrol.servercontrol import \
   ServerControl
 from zope.component import getService
+from zope.component.servicenames import Utilities
 from zope.app.services.tests.placefulsetup\
            import PlacefulSetup
 
@@ -31,7 +32,7 @@
         return ServerControlView(container, request)
 
     def test_ServerControlView(self):
-        getService(None,"Utilities").provideUtility(
+        getService(None,Utilities).provideUtility(
               IServerControl, ServerControl())
 
         test_serverctrl = self._TestView__newView(