[Checkins] SVN: grokcore.view/branches/jw-generic_directory_resource/src/grokcore/view/ftests/staticdir/simple.py cosmetics

Jan-Wijbrand Kolman janwijbrand at gmail.com
Thu Oct 9 16:59:42 EDT 2008


Log message for revision 91943:
  cosmetics
  

Changed:
  U   grokcore.view/branches/jw-generic_directory_resource/src/grokcore/view/ftests/staticdir/simple.py

-=-
Modified: grokcore.view/branches/jw-generic_directory_resource/src/grokcore/view/ftests/staticdir/simple.py
===================================================================
--- grokcore.view/branches/jw-generic_directory_resource/src/grokcore/view/ftests/staticdir/simple.py	2008-10-09 19:54:38 UTC (rev 91942)
+++ grokcore.view/branches/jw-generic_directory_resource/src/grokcore/view/ftests/staticdir/simple.py	2008-10-09 20:59:42 UTC (rev 91943)
@@ -5,8 +5,9 @@
   >>> from zope.testbrowser.testing import Browser
   >>> browser = Browser()
   >>> browser.handleErrors = False
-  >>> browser.open('http://localhost/@@/grokcore.view.ftests.staticdir.simple_fixture/'
-  ...              'file.txt')
+  >>> browser.open(
+  ...     'http://localhost/@@/grokcore.view.ftests.staticdir.simple_fixture/'
+  ...     'file.txt')
   >>> print browser.contents
   some text
 
@@ -26,7 +27,9 @@
 
 Static also means that page templates will not be interpreted:
 
-  >>> browser.open('http://localhost/@@/grokcore.view.ftests.staticdir.simple_fixture/static.pt')
+  >>> browser.open(
+  ...     'http://localhost/@@/grokcore.view.ftests.staticdir.simple_fixture/'
+  ...     'static.pt')
   >>> print browser.contents
   <html>
   <body>
@@ -36,7 +39,9 @@
 
 We also support subdirectories for resources:
 
-  >>> browser.open('http://localhost/@@/grokcore.view.ftests.staticdir.simple_fixture/subdir/otherfile.txt')
+  >>> browser.open(
+  ...     'http://localhost/@@/grokcore.view.ftests.staticdir.simple_fixture/'
+  ...     'subdir/otherfile.txt')
   >>> print browser.contents
   This is yet another file.
 



More information about the Checkins mailing list