[Checkins] SVN: z3c.etestbrowser/trunk/ - added over_the_wire.txt to long_desription

Michael Howitz mh at gocept.com
Sat Aug 21 10:31:53 EDT 2010


Log message for revision 115848:
  - added over_the_wire.txt to long_desription
  - fixed headline types for consistent table of contents
  

Changed:
  U   z3c.etestbrowser/trunk/README.txt
  U   z3c.etestbrowser/trunk/setup.py
  U   z3c.etestbrowser/trunk/src/z3c/etestbrowser/README.txt
  U   z3c.etestbrowser/trunk/src/z3c/etestbrowser/over_the_wire.txt

-=-
Modified: z3c.etestbrowser/trunk/README.txt
===================================================================
--- z3c.etestbrowser/trunk/README.txt	2010-08-20 20:02:53 UTC (rev 115847)
+++ z3c.etestbrowser/trunk/README.txt	2010-08-21 14:31:52 UTC (rev 115848)
@@ -3,9 +3,11 @@
 =====================================
 
 This package is intended to provide extended versions of the Zope 3
-testbrowser. Especially those extensions that introduce dependencies to more
+testbrowser_. Especially those extensions that introduce dependencies to more
 external products, like lxml.
 
+.. _testbrowser: http://pypi.python.org/pypi/zope.testbrowser
+
 .. contents::
 
 Extension: lxml-support

Modified: z3c.etestbrowser/trunk/setup.py
===================================================================
--- z3c.etestbrowser/trunk/setup.py	2010-08-20 20:02:53 UTC (rev 115847)
+++ z3c.etestbrowser/trunk/setup.py	2010-08-21 14:31:52 UTC (rev 115848)
@@ -31,6 +31,8 @@
           + '\n\n' +
           read('src', 'z3c', 'etestbrowser', 'README.txt')
           + '\n\n' +
+          read('src', 'z3c', 'etestbrowser', 'over_the_wire.txt')
+          + '\n\n' +
           read('CHANGES.txt')
           ),
       keywords = "zope3 testbrowser lxml",

Modified: z3c.etestbrowser/trunk/src/z3c/etestbrowser/README.txt
===================================================================
--- z3c.etestbrowser/trunk/src/z3c/etestbrowser/README.txt	2010-08-20 20:02:53 UTC (rev 115847)
+++ z3c.etestbrowser/trunk/src/z3c/etestbrowser/README.txt	2010-08-21 14:31:52 UTC (rev 115848)
@@ -1,6 +1,5 @@
-====================
 Extended testbrowser
-====================
+--------------------
 
 This package provides some extensions to Zope 3's testbrowser. It is intended
 for extensions that have dependencies that we do not want to rely on in the
@@ -8,13 +7,13 @@
 
 
 Requirements
-============
+~~~~~~~~~~~~
 
  - lxml
 
 
 etree support
-=============
+~~~~~~~~~~~~~
 
 The extended test browser allows parsing of the result of a request into an
 etree using lxml (if the content type is text/html or text/xml).
@@ -38,7 +37,7 @@
 
 
 Strict XML
-----------
+++++++++++
 
 It is possible to force the test browser to use the xml parser:
 
@@ -53,7 +52,7 @@
   [<Element {http://www.w3.org/1999/xhtml}body at ...>]
 
 LXML unicode support
---------------------
+++++++++++++++++++++
 
 A couple of variations of libxml2 might interpret UTF-8 encoded strings
 incorrectly. We have a workaround for that. Let's have a look at a view that
@@ -65,7 +64,7 @@
   u'K\xfcgelblitz.'
 
 Invalid XML/HTML responses
---------------------------
+++++++++++++++++++++++++++
 
 Responses that contain a body with invalid XML/HTML will cause an error when
 accessing the etree or normalized_contents attribute, but will load fine for
@@ -83,7 +82,7 @@
 
 
 Pretty printing
-===============
+~~~~~~~~~~~~~~~
 
 Sometimes a normal `print` of the browsers contents is hard to read for
 debugging:
@@ -103,7 +102,7 @@
   Loading... ... Name Title Created Modified ...
 
 HTML/XML normalization
-======================
+~~~~~~~~~~~~~~~~~~~~~~
 
 The extended test browser allows normalized output of HTML and XML which makes
 testing examples with HTML or XML a bit easier when unimportant details like

Modified: z3c.etestbrowser/trunk/src/z3c/etestbrowser/over_the_wire.txt
===================================================================
--- z3c.etestbrowser/trunk/src/z3c/etestbrowser/over_the_wire.txt	2010-08-20 20:02:53 UTC (rev 115847)
+++ z3c.etestbrowser/trunk/src/z3c/etestbrowser/over_the_wire.txt	2010-08-21 14:31:52 UTC (rev 115848)
@@ -1,9 +1,8 @@
-=================================
-Using testbrowser On the Internet
-=================================
+Using testbrowser on the internet
+---------------------------------
 
-The ``z3c.etestbrowser`` module exposes an ``ExtendedTestBrowser`` class that
-simulates a web browser similar to Mozilla Firefox or IE.
+The ``z3c.etestbrowser.browser`` module exposes an ``ExtendedTestBrowser``
+class that simulates a web browser similar to Mozilla Firefox or IE.
 
     >>> from z3c.etestbrowser.browser import ExtendedTestBrowser
     >>> browser = ExtendedTestBrowser()



More information about the checkins mailing list