[Zope3-checkins] CVS: Zope3/src/zope/app/renderer/tests -
renderer.zcml:1.2.16.1 test_directives.py:1.3.14.1
Jim Fulton
cvs-admin at zope.org
Sun Nov 9 11:08:57 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/renderer/tests
In directory cvs.zope.org:/tmp/cvs-serv15349/src/zope/app/renderer/tests
Modified Files:
Tag: adaptergeddon-branch
renderer.zcml test_directives.py
Log Message:
Created a global presentation service that replaces the
global view, resource, and skin services.
Now look up presentation components by adapting from a request type,
rather than adapting to a presentation type.
=== Zope3/src/zope/app/renderer/tests/renderer.zcml 1.2 => 1.2.16.1 ===
--- Zope3/src/zope/app/renderer/tests/renderer.zcml:1.2 Sat Aug 2 07:20:09 2003
+++ Zope3/src/zope/app/renderer/tests/renderer.zcml Sun Nov 9 11:08:26 2003
@@ -10,7 +10,7 @@
<renderer:renderer
sourceType=".tests.test_directives.ITestSource"
- for="zope.publisher.interfaces.browser.IBrowserPresentation"
+ for="zope.publisher.interfaces.browser.IBrowserRequest"
factory=".tests.test_directives.TestRenderer" />
</configure>
=== Zope3/src/zope/app/renderer/tests/test_directives.py 1.3 => 1.3.14.1 ===
--- Zope3/src/zope/app/renderer/tests/test_directives.py:1.3 Tue Aug 5 10:25:00 2003
+++ Zope3/src/zope/app/renderer/tests/test_directives.py Sun Nov 9 11:08:26 2003
@@ -49,9 +49,9 @@
zope.app.renderer.tests.test_directives.ITestSource)
obj = SourceTypes.createObject('Test Text', 'Source')
- self.assertEqual(
- getView(obj, None, TestRequest()).__class__,
- zope.app.renderer.tests.test_directives.TestRenderer)
+ v = getView(obj, u'', TestRequest())
+ self.assertEqual(v.__class__,
+ zope.app.renderer.tests.test_directives.TestRenderer)
def test_suite():
More information about the Zope3-Checkins
mailing list