[Zope3-checkins] CVS: Zope3/src/zope/publisher/tests -
basetestipublicationrequest.py:1.3 test_browserrequest.py:1.8
Jim Fulton
jim at zope.com
Fri Aug 8 15:07:27 EDT 2003
Update of /cvs-repository/Zope3/src/zope/publisher/tests
In directory cvs.zope.org:/tmp/cvs-serv5377/src/zope/publisher/tests
Modified Files:
basetestipublicationrequest.py test_browserrequest.py
Log Message:
*Finally* renamed setViewSkin to setPresentationSkin.
=== Zope3/src/zope/publisher/tests/basetestipublicationrequest.py 1.2 => 1.3 ===
--- Zope3/src/zope/publisher/tests/basetestipublicationrequest.py:1.2 Wed Dec 25 09:15:19 2002
+++ Zope3/src/zope/publisher/tests/basetestipublicationrequest.py Fri Aug 8 14:07:21 2003
@@ -57,7 +57,7 @@
request = self._Test__new()
self.assertEqual(request.getPresentationSkin(), '')
skin = 'terse'
- request.setViewSkin(skin)
+ request.setPresentationSkin(skin)
self.assertEqual(request.getPresentationSkin(), skin)
def test_getPresentationType(self):
=== Zope3/src/zope/publisher/tests/test_browserrequest.py 1.7 => 1.8 ===
--- Zope3/src/zope/publisher/tests/test_browserrequest.py:1.7 Fri Apr 11 08:55:41 2003
+++ Zope3/src/zope/publisher/tests/test_browserrequest.py Fri Aug 8 14:07:21 2003
@@ -133,7 +133,7 @@
self.failUnless(r.getPresentationType() is IBrowserPresentation)
self.assertEqual(r.getPresentationSkin(), '')
- r.setViewSkin('morefoo')
+ r.setPresentationSkin('morefoo')
self.assertEqual(r.getPresentationSkin(), 'morefoo')
def testNoDefault(self):
More information about the Zope3-Checkins
mailing list