[Zope3-checkins] CVS: Zope3/src/zope/tal/tests -
test_talinterpreter.py:1.3.6.3
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Aug 20 17:16:20 EDT 2003
Update of /cvs-repository/Zope3/src/zope/tal/tests
In directory cvs.zope.org:/tmp/cvs-serv19192/src/zope/tal/tests
Modified Files:
Tag: srichter-inlinepython-branch
test_talinterpreter.py
Log Message:
Thanks to fdrake for the pointer, we now have even <script lang=""></script>
support.
=== Zope3/src/zope/tal/tests/test_talinterpreter.py 1.3.6.2 => 1.3.6.3 ===
--- Zope3/src/zope/tal/tests/test_talinterpreter.py:1.3.6.2 Wed Aug 20 11:24:17 2003
+++ Zope3/src/zope/tal/tests/test_talinterpreter.py Wed Aug 20 16:16:18 2003
@@ -164,6 +164,13 @@
'--></p>')
self._check(program, '<b tal:replace="string:foo">hello</b>\n\n')
+ def test_html_script(self):
+ program, macros = self._compile(
+ '<script lang="server-python">\n'
+ ' print "Hello world!"\n'
+ '</script>')
+ self._check(program, 'Hello world!\n')
+
class I18NCornerTestCase(TestCaseBase):
More information about the Zope3-Checkins
mailing list