[Checkins] SVN: zope.app.publication/trunk/ Lift the test dependency on old zope.app.zptpage.

Martijn Faassen faassen at startifact.com
Fri Jan 8 17:36:05 EST 2010


Log message for revision 107890:
  Lift the test dependency on old zope.app.zptpage.
  

Changed:
  U   zope.app.publication/trunk/CHANGES.txt
  U   zope.app.publication/trunk/setup.py
  U   zope.app.publication/trunk/src/zope/app/publication/ftesting.zcml
  U   zope.app.publication/trunk/src/zope/app/publication/notfound.txt
  U   zope.app.publication/trunk/src/zope/app/publication/tests/test_functional.py

-=-
Modified: zope.app.publication/trunk/CHANGES.txt
===================================================================
--- zope.app.publication/trunk/CHANGES.txt	2010-01-08 22:32:35 UTC (rev 107889)
+++ zope.app.publication/trunk/CHANGES.txt	2010-01-08 22:36:05 UTC (rev 107890)
@@ -5,7 +5,7 @@
 3.10.2 (unreleased)
 -------------------
 
-- Nothing changed yet.
+- Lift the test dependency on zope.app.zptpage.
 
 
 3.10.1 (2010-01-08)

Modified: zope.app.publication/trunk/setup.py
===================================================================
--- zope.app.publication/trunk/setup.py	2010-01-08 22:32:35 UTC (rev 107889)
+++ zope.app.publication/trunk/setup.py	2010-01-08 22:36:05 UTC (rev 107890)
@@ -56,7 +56,6 @@
               'zope.app.securitypolicy',
               'zope.app.zcmlfiles>=3.5.4',
               'zope.app.dav',
-              'zope.app.zptpage',
               'zope.principalregistry',
               'zope.app.applicationcontrol>=3.5.0',
               'zope.site',

Modified: zope.app.publication/trunk/src/zope/app/publication/ftesting.zcml
===================================================================
--- zope.app.publication/trunk/src/zope/app/publication/ftesting.zcml	2010-01-08 22:32:35 UTC (rev 107889)
+++ zope.app.publication/trunk/src/zope/app/publication/ftesting.zcml	2010-01-08 22:36:05 UTC (rev 107890)
@@ -14,7 +14,6 @@
   <include package="zope.app.zcmlfiles" />
   <include package="zope.app.dav"/>
   <include package="zope.app.authentication" />
-  <include package="zope.app.zptpage"/>
   <include package="zope.app.securitypolicy" />
   <include package="zope.login" />
 

Modified: zope.app.publication/trunk/src/zope/app/publication/notfound.txt
===================================================================
--- zope.app.publication/trunk/src/zope/app/publication/notfound.txt	2010-01-08 22:32:35 UTC (rev 107889)
+++ zope.app.publication/trunk/src/zope/app/publication/notfound.txt	2010-01-08 22:36:05 UTC (rev 107890)
@@ -12,10 +12,9 @@
     The page that you are trying to access is not available
   ...
 
-On the other hand, if we create a template that refers to something
-that doesn't exist:
+On the other hand, if we create something that raises an exception
+inside we should get an internal server error:
 
-
   >>> print http(r"""
   ... POST /+/zope.app.zptpage.ZPTPage%3D HTTP/1.1
   ... Authorization: Basic mgr:mgrpw

Modified: zope.app.publication/trunk/src/zope/app/publication/tests/test_functional.py
===================================================================
--- zope.app.publication/trunk/src/zope/app/publication/tests/test_functional.py	2010-01-08 22:32:35 UTC (rev 107889)
+++ zope.app.publication/trunk/src/zope/app/publication/tests/test_functional.py	2010-01-08 22:36:05 UTC (rev 107890)
@@ -29,8 +29,6 @@
 
 
 def test_suite():
-    notfound = functional.FunctionalDocFileSuite('../notfound.txt')
-    notfound.layer = PublicationLayer
     methodnotallowed = functional.FunctionalDocFileSuite(
         '../methodnotallowed.txt')
     methodnotallowed.layer = PublicationLayer
@@ -41,7 +39,6 @@
         '../site.txt')
     site.layer = PublicationLayer
     return unittest.TestSuite((
-        notfound,
         methodnotallowed,
         httpfactory,
         site,



More information about the checkins mailing list