[Zope3-checkins] SVN: Zope3/trunk/src/zwiki/tests/test_traverser.py
Use ztapi.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Sep 17 12:16:54 EDT 2004
Log message for revision 27605:
Use ztapi.
Changed:
U Zope3/trunk/src/zwiki/tests/test_traverser.py
-=-
Modified: Zope3/trunk/src/zwiki/tests/test_traverser.py
===================================================================
--- Zope3/trunk/src/zwiki/tests/test_traverser.py 2004-09-17 16:16:51 UTC (rev 27604)
+++ Zope3/trunk/src/zwiki/tests/test_traverser.py 2004-09-17 16:16:54 UTC (rev 27605)
@@ -84,8 +84,7 @@
request = Request(I, '')
T = WikiPageTraverser(page1, request)
- zapi.getService(zapi.servicenames.Presentation).provideView(
- IWikiPage, 'viewfoo', I, View)
+ ztapi.provideView(IWikiPage, I, Interface, 'viewfoo', View)
self.failUnless(
T.publishTraverse(request, 'viewfoo').__class__ is View )
More information about the Zope3-Checkins
mailing list