[Checkins] SVN: grok/trunk/src/grok/ftests/static/simple - added test for subdirectories of resource directories

Christian Theune ct at gocept.com
Sat Jan 6 11:08:00 EST 2007


Log message for revision 71741:
   - added test for subdirectories of resource directories
  

Changed:
  U   grok/trunk/src/grok/ftests/static/simple.py
  A   grok/trunk/src/grok/ftests/static/simple_fixture/static/subdir/
  A   grok/trunk/src/grok/ftests/static/simple_fixture/static/subdir/otherfile.txt

-=-
Modified: grok/trunk/src/grok/ftests/static/simple.py
===================================================================
--- grok/trunk/src/grok/ftests/static/simple.py	2007-01-06 16:07:21 UTC (rev 71740)
+++ grok/trunk/src/grok/ftests/static/simple.py	2007-01-06 16:07:59 UTC (rev 71741)
@@ -34,4 +34,10 @@
   </body>
   </html>
 
+We also support subdirectories for resources:
+
+  >>> browser.open('http://localhost/@@/grok.ftests.static.simple_fixture/subdir/otherfile.txt')
+  >>> print browser.contents
+  This is yet another file.
+
 """

Added: grok/trunk/src/grok/ftests/static/simple_fixture/static/subdir/otherfile.txt
===================================================================
--- grok/trunk/src/grok/ftests/static/simple_fixture/static/subdir/otherfile.txt	2007-01-06 16:07:21 UTC (rev 71740)
+++ grok/trunk/src/grok/ftests/static/simple_fixture/static/subdir/otherfile.txt	2007-01-06 16:07:59 UTC (rev 71741)
@@ -0,0 +1 @@
+This is yet another file.


Property changes on: grok/trunk/src/grok/ftests/static/simple_fixture/static/subdir/otherfile.txt
___________________________________________________________________
Name: svn:keywords
   + Id Rev Date
Name: svn:eol-style
   + native



More information about the Checkins mailing list