[Checkins] SVN: grok/trunk/src/grok/ftests/static/simple test that pagetemplates in static directories are not interpreted

Wolfgang Schnerring wosc at wosc.de
Wed Oct 18 09:47:48 EDT 2006


Log message for revision 70783:
  test that pagetemplates in static directories are not interpreted

Changed:
  U   grok/trunk/src/grok/ftests/static/simple.py
  A   grok/trunk/src/grok/ftests/static/simple_fixture/static/static.pt

-=-
Modified: grok/trunk/src/grok/ftests/static/simple.py
===================================================================
--- grok/trunk/src/grok/ftests/static/simple.py	2006-10-18 13:33:04 UTC (rev 70782)
+++ grok/trunk/src/grok/ftests/static/simple.py	2006-10-18 13:47:47 UTC (rev 70783)
@@ -24,4 +24,14 @@
   </body>
   </html>
 
+Static also means that page templates will not be interpreted:
+
+  >>> browser.open('http://localhost/@@/grok.ftests.static.simple_fixture/static.pt')
+  >>> print browser.contents
+  <html>
+  <body>
+  <h1 tal:content="string:will not be interpreted"/>
+  </body>
+  </html>
+
 """

Added: grok/trunk/src/grok/ftests/static/simple_fixture/static/static.pt
===================================================================
--- grok/trunk/src/grok/ftests/static/simple_fixture/static/static.pt	2006-10-18 13:33:04 UTC (rev 70782)
+++ grok/trunk/src/grok/ftests/static/simple_fixture/static/static.pt	2006-10-18 13:47:47 UTC (rev 70783)
@@ -0,0 +1,5 @@
+<html>
+<body>
+<h1 tal:content="string:will not be interpreted"/>
+</body>
+</html>



More information about the Checkins mailing list