[Zope3-checkins] CVS: Zope3/src/zope/app/renderer/tests -
test_directives.py:1.4
Jim Fulton
cvs-admin at zope.org
Fri Nov 21 12:10:59 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/renderer/tests
In directory cvs.zope.org:/tmp/cvs-serv30963/src/zope/app/renderer/tests
Modified Files:
test_directives.py
Log Message:
Unnamed views have names that are empty strings.
=== Zope3/src/zope/app/renderer/tests/test_directives.py 1.3 => 1.4 ===
--- 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 Fri Nov 21 12:10:59 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