[Checkins] SVN: megrok.rdb/trunk/src/megrok/rdb/README.txt Make the
tests pass again with a weird workaround. Not sure how
Martijn Faassen
faassen at infrae.com
Thu Jul 10 07:08:03 EDT 2008
Log message for revision 88166:
Make the tests pass again with a weird workaround. Not sure how
this ever worked in the past.
Changed:
U megrok.rdb/trunk/src/megrok/rdb/README.txt
-=-
Modified: megrok.rdb/trunk/src/megrok/rdb/README.txt
===================================================================
--- megrok.rdb/trunk/src/megrok/rdb/README.txt 2008-07-10 10:59:35 UTC (rev 88165)
+++ megrok.rdb/trunk/src/megrok/rdb/README.txt 2008-07-10 11:08:03 UTC (rev 88166)
@@ -104,6 +104,13 @@
>>> from grok.testing import grok
>>> grok('megrok.rdb.meta')
+
+Before we grok stuff in the doctest, we need to make sure that
+``__file__`` exists on our "module"::
+
+ >>> __file__ = 'foo'
+
+
Now we can grok the components::
>>> from grok.testing import grok_component
More information about the Checkins
mailing list