[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate/tests - test_viewzpt.py:1.3

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


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

Modified Files:
	test_viewzpt.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/pagetemplate/tests/test_viewzpt.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/pagetemplate/tests/test_viewzpt.py:1.2	Wed Dec 25 09:13:06 2002
+++ Zope3/src/zope/app/pagetemplate/tests/test_viewzpt.py	Thu Feb  6 01:49:35 2003
@@ -17,6 +17,7 @@
 
 from zope.testing.cleanup import CleanUp
 from zope.component import getService
+from zope.component.servicenames import Views
 from zope.interface import Interface
 
 from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
@@ -66,7 +67,7 @@
         def ViewMaker(*args, **kw):
             return the_view
 
-        getService(None,"Views").provideView(I1,
+        getService(None,Views).provideView(I1,
                     name=the_view_name,
                     type=the_view_type,
                     maker=[ViewMaker])