[Zope3-checkins] CVS: Zope3/src/zope/app/content/tests - test_zptpage.py:1.10
Jim Fulton
jim@zope.com
Fri, 18 Apr 2003 14:45:02 -0400
Update of /cvs-repository/Zope3/src/zope/app/content/tests
In directory cvs.zope.org:/tmp/cvs-serv9129/src/zope/app/content/tests
Modified Files:
test_zptpage.py
Log Message:
Added "container" as a name that can be used in ZPT content (aka
Templated Pages). Eventually, we'll phase out use of "context" for
these.
=== Zope3/src/zope/app/content/tests/test_zptpage.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/content/tests/test_zptpage.py:1.9 Mon Apr 14 11:59:26 2003
+++ Zope3/src/zope/app/content/tests/test_zptpage.py Fri Apr 18 14:45:02 2003
@@ -80,7 +80,7 @@
'<head><title tal:content="options/title">blah</title></head>'
'<body>'
'<a href="foo" tal:attributes="href request/URL/1">'
- '<span tal:replace="context/name">splat</span>'
+ '<span tal:replace="container/name">splat</span>'
'</a></body></html>'
)