[Checkins] SVN: bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/ fix example docs along doctests

Michael Haubenwallner michael at d2m.at
Thu Jun 25 01:44:39 EDT 2009


Log message for revision 101271:
  fix example docs along doctests

Changed:
  U   bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/fswikia.ini
  U   bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/index.txt

-=-
Modified: bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/fswikia.ini
===================================================================
--- bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/fswikia.ini	2009-06-24 17:04:25 UTC (rev 101270)
+++ bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/fswikia.ini	2009-06-25 05:44:39 UTC (rev 101271)
@@ -1,7 +1,7 @@
 [app:main]
 use = egg:bobo
-bobo_module = bobodoctestumentation.fswikia
-bobo_configure = config
+bobo_resources = bobodoctestumentation.fswikia
+bobo_configure = bobodoctestumentation.fswikia:config
 directory = wikidocs
 filter-with = reload
 

Modified: bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/index.txt
===================================================================
--- bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/index.txt	2009-06-24 17:04:25 UTC (rev 101270)
+++ bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/index.txt	2009-06-25 05:44:39 UTC (rev 101271)
@@ -140,6 +140,8 @@
 
     >>> update_module('helloapp', src)
     >>> app = webtest.TestApp(bobo.Application(bobo_resources='helloapp'))
+    >>> app.get(url, status=200).body == expected_body
+    True
 
 If a function accepts named arguments, then data will be
 supplied from form data.  If we visit::



More information about the Checkins mailing list