[Checkins] SVN: Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/ Update fixture/tests.
Uli Fouquet
uli at gnufix.de
Sun Feb 22 07:50:09 EST 2009
Log message for revision 97030:
Update fixture/tests.
Changed:
U Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/README.txt
U Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/tests/cpt_fixture/app_templates/food.cpt
-=-
Modified: Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/README.txt
===================================================================
--- Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/README.txt 2009-02-22 12:44:47 UTC (rev 97029)
+++ Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/README.txt 2009-02-22 12:50:09 UTC (rev 97030)
@@ -101,9 +101,11 @@
>>> print open(food_cpt, 'rb').read()
<html>
<body>
+ <span tal:define="foo 'a FOO'" />
${view.me_do()}
CSS-URL: ${static['test.css']()}
My context is: ${view.url(context)}
+ ${foo}
</body>
</html>
@@ -113,9 +115,11 @@
>>> print view()
<html>
<body>
+ <span />
ME GROK EAT MAMMOTH!
CSS-URL: http://127.0.0.1/@@/megrok.chameleon.tests.cpt_fixture/test.css
My context is: http://127.0.0.1/manfred
+ a FOO
</body>
</html>
Modified: Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/tests/cpt_fixture/app_templates/food.cpt
===================================================================
--- Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/tests/cpt_fixture/app_templates/food.cpt 2009-02-22 12:44:47 UTC (rev 97029)
+++ Sandbox/ulif/megrok.chameleon/src/megrok/chameleon/tests/cpt_fixture/app_templates/food.cpt 2009-02-22 12:50:09 UTC (rev 97030)
@@ -1,7 +1,9 @@
<html>
<body>
+<span tal:define="foo 'a FOO'" />
${view.me_do()}
CSS-URL: ${static['test.css']()}
My context is: ${view.url(context)}
+${foo}
</body>
</html>
More information about the Checkins
mailing list