[Checkins] SVN: zope.app.publication/trunk/s removed traces of zope.i18n which had been used but not actually needed by tests

Thomas Lotze tl at gocept.com
Mon Oct 5 02:10:51 EDT 2009


Log message for revision 104783:
  removed traces of zope.i18n which had been used but not actually needed by tests

Changed:
  U   zope.app.publication/trunk/setup.py
  U   zope.app.publication/trunk/src/zope/app/publication/tests/test_zopepublication.py

-=-
Modified: zope.app.publication/trunk/setup.py
===================================================================
--- zope.app.publication/trunk/setup.py	2009-10-04 16:39:58 UTC (rev 104782)
+++ zope.app.publication/trunk/setup.py	2009-10-05 06:10:50 UTC (rev 104783)
@@ -67,7 +67,6 @@
                       'zope.authentication',
                       'zope.component',
                       'zope.error',
-                      'zope.i18n',
                       'zope.browser>=1.2',
                       'zope.location',
                       'zope.publisher>=3.8.0',

Modified: zope.app.publication/trunk/src/zope/app/publication/tests/test_zopepublication.py
===================================================================
--- zope.app.publication/trunk/src/zope/app/publication/tests/test_zopepublication.py	2009-10-04 16:39:58 UTC (rev 104782)
+++ zope.app.publication/trunk/src/zope/app/publication/tests/test_zopepublication.py	2009-10-05 06:10:50 UTC (rev 104783)
@@ -27,12 +27,10 @@
 import zope.component
 from zope.interface.verify import verifyClass
 from zope.interface import implements, classImplements, implementedBy
-from zope.i18n.interfaces import IUserPreferredCharsets
 from zope.component.interfaces import ComponentLookupError
 from zope.error.interfaces import IErrorReportingUtility
 from zope.location import Location
 from zope.publisher.base import TestPublication, TestRequest
-from zope.publisher.http import IHTTPRequest, HTTPCharsets
 from zope.publisher.interfaces import IRequest, IPublishTraverse
 from zope.security import simplepolicies
 from zope.security.management import setSecurityPolicy, queryInteraction
@@ -112,8 +110,6 @@
         super(BasePublicationTests, self).setUp()
         from zope.security.management import endInteraction
         endInteraction()
-        ztapi.provideAdapter(IHTTPRequest, IUserPreferredCharsets,
-                             HTTPCharsets)
         self.policy = setSecurityPolicy(
             simplepolicies.PermissiveSecurityPolicy
             )



More information about the checkins mailing list