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

Sidnei da Silva sidnei@x3ng.com.br
Tue, 11 Feb 2003 09:41:57 -0500


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

Modified Files:
      Tag: paris-copypasterename-branch
	test_runtimeinfoview.py test_servercontrolview.py 
Log Message:
Updating from HEAD to make sure everything still works before merging

=== Zope3/src/zope/app/browser/applicationcontrol/tests/test_runtimeinfoview.py 1.2 => 1.2.4.1 ===
--- 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	Tue Feb 11 09:40:56 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.2.4.1 ===
--- 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	Tue Feb 11 09:40:56 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(