[Checkins] SVN: zope.app.testing/trunk/ Make the tests work with new zope.site.

Martijn Faassen faassen at infrae.com
Fri Jan 30 11:44:00 EST 2009


Log message for revision 95588:
  Make the tests work with new zope.site.
  

Changed:
  U   zope.app.testing/trunk/CHANGES.txt
  U   zope.app.testing/trunk/src/zope/app/testing/doctest.txt

-=-
Modified: zope.app.testing/trunk/CHANGES.txt
===================================================================
--- zope.app.testing/trunk/CHANGES.txt	2009-01-30 16:42:31 UTC (rev 95587)
+++ zope.app.testing/trunk/CHANGES.txt	2009-01-30 16:44:00 UTC (rev 95588)
@@ -8,6 +8,7 @@
 - Fix AttributeError in zope.app.testing.setup.setUpTestAsModule (when
   called without name argument.
 - Use zope.container instead of zope.app.container.
+- Make tests work with location of Folder in zope.site.
 
 3.5.6 (2008-10-13)
 ------------------

Modified: zope.app.testing/trunk/src/zope/app/testing/doctest.txt
===================================================================
--- zope.app.testing/trunk/src/zope/app/testing/doctest.txt	2009-01-30 16:42:31 UTC (rev 95587)
+++ zope.app.testing/trunk/src/zope/app/testing/doctest.txt	2009-01-30 16:44:00 UTC (rev 95588)
@@ -118,7 +118,7 @@
 
   >>> root = getRootFolder()
   >>> root
-  <zope.app.folder.folder.Folder object at ...>
+  <zope.site.folder.Folder object at ...>
 
 You can intermix HTTP requests with regular Python calls.  Note,
 however, that making an `http()` call implied a transaction commit.
@@ -131,7 +131,8 @@
   ... Content-Length: 73
   ... Content-Type: application/x-www-form-urlencoded
   ...
-  ... type_name=BrowserAdd__zope.app.folder.folder.Folder&new_value=f1""")
+  ... type_name=BrowserAdd__zope.site.folder.Folder&new_value=f1""",
+  ... handle_errors=False)
   HTTP/1.1 303 See Other
   Content-Length: ...
   Content-Type: text/html;charset=utf-8



More information about the Checkins mailing list