[Zope3-checkins] CVS: Zope3/src/zope/app/container/tests - test_containertraverser.py:1.3

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


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

Modified Files:
	test_containertraverser.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/container/tests/test_containertraverser.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/container/tests/test_containertraverser.py:1.2	Wed Dec 25 09:12:47 2002
+++ Zope3/src/zope/app/container/tests/test_containertraverser.py	Thu Feb  6 01:49:28 2003
@@ -19,6 +19,7 @@
 import unittest, sys
 from zope.component.tests.request import Request
 from zope.component import getService
+from zope.component.servicenames import Views
 from zope.app.container.traversal import ContainerTraverser
 from zope.interface import Interface
 from zope.exceptions import NotFoundError
@@ -71,7 +72,7 @@
         req = Request( I, '')
 
         T = ContainerTraverser(c, req)
-        getService(None,'Views').provideView(IContainer, 'viewfoo', I, [View])
+        getService(None,Views).provideView(IContainer, 'viewfoo', I, [View])
 
         self.failUnless(T.publishTraverse(req,'viewfoo').__class__ is View )
         self.failUnless(T.publishTraverse(req,'foo') is foo)