[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/basic/tests - test_standardmacros.py:1.3

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


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

Modified Files:
	test_standardmacros.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/skins/basic/tests/test_standardmacros.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/skins/basic/tests/test_standardmacros.py:1.2	Wed Dec 25 09:12:41 2002
+++ Zope3/src/zope/app/browser/skins/basic/tests/test_standardmacros.py	Thu Feb  6 01:49:14 2003
@@ -20,6 +20,7 @@
 from zope.app.services.tests.placefulsetup\
            import PlacefulSetup
 from zope.component import getService
+from zope.component.servicenames import Views
 from zope.publisher.interfaces.browser import IBrowserView
 from zope.publisher.interfaces.browser import IBrowserPresentation
 from zope.interface import Interface
@@ -77,7 +78,7 @@
 
     def setUp(self):
         PlacefulSetup.setUp(self)
-        provideView = getService(None,"Views").provideView
+        provideView = getService(None,Views).provideView
         provideView(I, 'page1', IBrowserPresentation, [page1])
         provideView(I, 'collides_with_page1', IBrowserPresentation,
                     [collides_with_page1])