[Checkins] SVN: zc.buildout/branches/help-api/src/zc/buildout/tests.py making sure we get the zc.recipe.egg docstring

Tarek Ziade ziade.tarek at gmail.com
Wed Jan 23 11:08:01 EST 2008


Log message for revision 83113:
  making sure we get the zc.recipe.egg docstring

Changed:
  U   zc.buildout/branches/help-api/src/zc/buildout/tests.py

-=-
Modified: zc.buildout/branches/help-api/src/zc/buildout/tests.py
===================================================================
--- zc.buildout/branches/help-api/src/zc/buildout/tests.py	2008-01-23 15:46:46 UTC (rev 83112)
+++ zc.buildout/branches/help-api/src/zc/buildout/tests.py	2008-01-23 16:08:00 UTC (rev 83113)
@@ -637,7 +637,16 @@
     """
     If help is followed by recipe names, it shows the 
     recipe's class docstring.
-   
+  
+    Let's call describe for zc.recipe.egg:
+
+    >>> print system('%s describe zc.recipe.egg' % buildout)  
+    zc.recipe.egg
+        Help not available
+    <BLANKLINE>
+
+    Now let's create our own recipe:
+    
     >>> mkdir(sample_buildout, 'my.recipes')
     >>> write(sample_buildout, 'my.recipes', 'recipe.py', 
     ... '''



More information about the Checkins mailing list