[Checkins] SVN: z3ext.cssregistry/trunk/ - Made tests compatible with ``zope.browserresource`` 3.11, thus requiring at least this version.

Michael Howitz mh at gocept.com
Thu Nov 18 02:53:12 EST 2010


Log message for revision 118454:
  - Made tests compatible with ``zope.browserresource`` 3.11, thus requiring at least this version.
  - There are currently some strage test failures. Maybe the same problem as in ``z3c.zrtresource`` on which this package depends on.
  
  

Changed:
  U   z3ext.cssregistry/trunk/CHANGES.txt
  U   z3ext.cssregistry/trunk/setup.py
  U   z3ext.cssregistry/trunk/src/z3ext/cssregistry/tests.py

-=-
Modified: z3ext.cssregistry/trunk/CHANGES.txt
===================================================================
--- z3ext.cssregistry/trunk/CHANGES.txt	2010-11-17 21:00:24 UTC (rev 118453)
+++ z3ext.cssregistry/trunk/CHANGES.txt	2010-11-18 07:53:11 UTC (rev 118454)
@@ -1,3 +1,10 @@
+======
+Issues
+======
+
+- There are currently some strage test failures. Maybe the same problem as
+  in ``z3c.zrtresource`` on which this package depends on.
+
 =======
 CHANGES
 =======
@@ -2,8 +9,11 @@
 
-1.5.1 (Unreleased)
+1.6.0 (Unreleased)
 ------------------
 
 - Remove ``zope.app.testing`` test dependency
 
+- Made tests compatible with ``zope.browserresource`` 3.11, thus requiring
+  at least this version.
 
+
 1.5.0 (2009-08-11)

Modified: z3ext.cssregistry/trunk/setup.py
===================================================================
--- z3ext.cssregistry/trunk/setup.py	2010-11-17 21:00:24 UTC (rev 118453)
+++ z3ext.cssregistry/trunk/setup.py	2010-11-18 07:53:11 UTC (rev 118454)
@@ -53,13 +53,14 @@
       package_dir = {'':'src'},
       namespace_packages=['z3ext'],
       install_requires = ['setuptools',
-                          'zope.schema',
-                          'zope.proxy',
-                          'zope.interface',
+                          'z3c.zrtresource',
+                          'zope.browserresource >= 3.11',
                           'zope.component',
+                          'zope.configuration',
                           'zope.i18nmessageid',
-                          'zope.configuration',
-                          'z3c.zrtresource',
+                          'zope.interface',
+                          'zope.proxy',
+                          'zope.schema',
                           ],
       extras_require = dict(test=['zope.testing',
                                   'zope.publisher',

Modified: z3ext.cssregistry/trunk/src/z3ext/cssregistry/tests.py
===================================================================
--- z3ext.cssregistry/trunk/src/z3ext/cssregistry/tests.py	2010-11-17 21:00:24 UTC (rev 118453)
+++ z3ext.cssregistry/trunk/src/z3ext/cssregistry/tests.py	2010-11-18 07:53:11 UTC (rev 118454)
@@ -11,24 +11,22 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
-""" z3ext.cssregistry tests
+""" z3ext.cssregistry tests"""
 
-$Id$
-"""
-__docformat__ = "reStructuredText"
-
-import unittest, doctest
 from zope import interface, schema
 from zope.component import provideAdapter, testing
-from zope.traversing.testing import setUp as traversingSetUp
-from zope.traversing.namespace import view
 from zope.traversing.interfaces import ITraversable
+from zope.traversing.namespace import view
+from zope.traversing.testing import setUp as traversingSetUp
+import unittest, doctest
+import zope.browserresource.file
 
 
 def setUp(test):
     testing.setUp()
     traversingSetUp()
     provideAdapter(view, (None, None), ITraversable, name="view")
+    provideAdapter(zope.browserresource.file.FileETag)
 
 
 def tearDown(test):



More information about the checkins mailing list