[Checkins] SVN: zope.testbrowser/trunk/ - Fixed tests to run with ``zope.app.testing`` 3.8 and above.

Michael Howitz mh at gocept.com
Tue Sep 14 11:07:27 EDT 2010


Log message for revision 116415:
  - Fixed tests to run with ``zope.app.testing`` 3.8 and above.
  
  

Changed:
  U   zope.testbrowser/trunk/CHANGES.txt
  U   zope.testbrowser/trunk/setup.py
  U   zope.testbrowser/trunk/src/zope/testbrowser/README.txt

-=-
Modified: zope.testbrowser/trunk/CHANGES.txt
===================================================================
--- zope.testbrowser/trunk/CHANGES.txt	2010-09-14 15:05:10 UTC (rev 116414)
+++ zope.testbrowser/trunk/CHANGES.txt	2010-09-14 15:07:26 UTC (rev 116415)
@@ -8,7 +8,9 @@
 - LP #98437: use mechanize's built-in ``submit()`` to submit forms, allowing
   mechanize to set the "Referer:" (sic) header appropriately.
 
+- Fixed tests to run with ``zope.app.testing`` 3.8 and above.
 
+
 3.9.0 (2010-05-17)
 ------------------
 
@@ -26,7 +28,7 @@
 - Pinned dependency on mechanize to prevent use of the upcoming
   0.2.0 release before we have time to adjust to its API changes.
 
-- LP #98396:  testbrowser resolves relative URLs incorrectly.
+- LP #98396: testbrowser resolves relative URLs incorrectly.
 
 
 3.8.0 (2010-03-05)

Modified: zope.testbrowser/trunk/setup.py
===================================================================
--- zope.testbrowser/trunk/setup.py	2010-09-14 15:05:10 UTC (rev 116414)
+++ zope.testbrowser/trunk/setup.py	2010-09-14 15:07:26 UTC (rev 116415)
@@ -69,7 +69,7 @@
             'zope.traversing',
             'zope.app.appsetup',
             'zope.app.publication',
-            'zope.app.testing',
+            'zope.app.testing >= 3.8',
             ],
         'zope-functional-testing': [
             'zope.app.testing',

Modified: zope.testbrowser/trunk/src/zope/testbrowser/README.txt
===================================================================
--- zope.testbrowser/trunk/src/zope/testbrowser/README.txt	2010-09-14 15:05:10 UTC (rev 116414)
+++ zope.testbrowser/trunk/src/zope/testbrowser/README.txt	2010-09-14 15:07:26 UTC (rev 116415)
@@ -1209,7 +1209,6 @@
     HTTP_USER_AGENT: Python-urllib/2.4
     HTTP_CONNECTION: close
     HTTP_COOKIE:
-    HTTP_REFERER: localhost
     HTTP_ACCEPT_LANGUAGE: en-US
     REQUEST_METHOD: GET
     HTTP_HOST: localhost
@@ -1228,7 +1227,6 @@
     HTTP_USER_AGENT: Python-urllib/2.4
     HTTP_CONNECTION: close
     HTTP_COOKIE:
-    HTTP_REFERER: localhost
     HTTP_ACCEPT_LANGUAGE: en-US
     y: 2
     REQUEST_METHOD: POST
@@ -1252,7 +1250,6 @@
     HTTP_USER_AGENT: Python-urllib/2.4
     HTTP_CONNECTION: close
     HTTP_COOKIE:
-    HTTP_REFERER: localhost
     HTTP_ACCEPT_LANGUAGE: en-US
     REQUEST_METHOD: POST
     HTTP_HOST: localhost



More information about the checkins mailing list