[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/HTTP/tests - testHTTP.py:1.1.2.9
Jim Fulton
jim@zope.com
Fri, 7 Jun 2002 10:41:58 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/Publisher/HTTP/tests
In directory cvs.zope.org:/tmp/cvs-serv12187/lib/python/Zope/Publisher/HTTP/tests
Modified Files:
Tag: Zope-3x-branch
testHTTP.py
Log Message:
Merging in Zope3InWonderland-branch, which implemented the following
proposals (see
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/OldProposals):
- RenameAllowToRequire
- GroupClassRelatedDirectivesInClassDirective
- ViewInterfaceAndSimplification
- ConsistentUseOfSpacesAsDelimitersInZCMLAttributes
- TwoArgumentViewConstructors
- ImplementsInZCML
- SimpleViewCreationInZCML
- RemoveGetView
- ReplaceProtectWithAllow
- ViewMethodsAsViews
- MergeProtectionAndComponentDefinitions
There were also various security fixes resulting of better integration
of security with components.
=== Zope3/lib/python/Zope/Publisher/HTTP/tests/testHTTP.py 1.1.2.8 => 1.1.2.9 ===
- def testIViewRequest(self):
+ def testIPresentationRequest(self):
''' test the IView request'''
r = self._createRequest()
- self.failUnless( r.getViewType() is None)
- self.assertEqual( r.getViewSkin(), '')
+ self.failUnless( r.getPresentationType() is None)
+ self.assertEqual( r.getPresentationSkin(), '')
r.setViewSkin( 'morefoo' )
- self.assertEqual( r.getViewSkin(), 'morefoo')
+ self.assertEqual( r.getPresentationSkin(), 'morefoo')