[Zope3-checkins] SVN: Zope3/trunk/src/zope/ Added chapters about
the testbrowser to the apidoc book
Dmitry Vasiliev
dima at hlabs.spb.ru
Wed Feb 1 03:47:14 EST 2006
Log message for revision 41524:
Added chapters about the testbrowser to the apidoc book
Changed:
U Zope3/trunk/src/zope/app/apidoc/bookmodule/book.zcml
U Zope3/trunk/src/zope/testbrowser/README.txt
U Zope3/trunk/src/zope/testbrowser/over_the_wire.txt
-=-
Modified: Zope3/trunk/src/zope/app/apidoc/bookmodule/book.zcml
===================================================================
--- Zope3/trunk/src/zope/app/apidoc/bookmodule/book.zcml 2006-02-01 08:43:01 UTC (rev 41523)
+++ Zope3/trunk/src/zope/app/apidoc/bookmodule/book.zcml 2006-02-01 08:47:13 UTC (rev 41524)
@@ -157,6 +157,22 @@
id="test"
title="Testing"
/>
+ <configure package="zope.testbrowser">
+ <bookchapter
+ id="testbrowser"
+ title="The Test Browser"
+ doc_path="README.txt"
+ parent="test"
+ />
+ </configure>
+ <configure package="zope.testbrowser">
+ <bookchapter
+ id="overthewire"
+ title="Using testbrowser On the Internet"
+ doc_path="over_the_wire.txt"
+ parent="test"
+ />
+ </configure>
<configure package="zope.app.ftests">
<bookchapter
id="fdoctest"
Modified: Zope3/trunk/src/zope/testbrowser/README.txt
===================================================================
--- Zope3/trunk/src/zope/testbrowser/README.txt 2006-02-01 08:43:01 UTC (rev 41523)
+++ Zope3/trunk/src/zope/testbrowser/README.txt 2006-02-01 08:47:13 UTC (rev 41524)
@@ -13,7 +13,7 @@
There is also a special version of the ``Browser`` class used to do functional
testing of Zope 3 applications, it can be imported from
-``zope.testbrowser.testing`` or just ``zope.testbrowser`` directly::
+``zope.testbrowser.testing`` or just ``zope.testbrowser`` directly:
>>> from zope.testbrowser import Browser
>>> browser = Browser()
Modified: Zope3/trunk/src/zope/testbrowser/over_the_wire.txt
===================================================================
--- Zope3/trunk/src/zope/testbrowser/over_the_wire.txt 2006-02-01 08:43:01 UTC (rev 41523)
+++ Zope3/trunk/src/zope/testbrowser/over_the_wire.txt 2006-02-01 08:47:13 UTC (rev 41524)
@@ -16,8 +16,8 @@
The browser can `open` web pages:
- # This is tricky, since in Germany I am forwarded to google.de usually;
- # The `ncr` forces to really go to google.com.
+ >>> # This is tricky, since in Germany I am forwarded to google.de usually;
+ >>> # The `ncr` forces to really go to google.com.
>>> browser.open('http://google.com/ncr')
>>> browser.url
'http://www.google.com/'
More information about the Zope3-Checkins
mailing list