[Checkins] SVN: Products.ZCatalog/trunk/ Fixed test failures introduced in 2.13.4.
Hanno Schlichting
hannosch at hannosch.eu
Sat Feb 5 05:05:36 EST 2011
Log message for revision 120107:
Fixed test failures introduced in 2.13.4.
Changed:
U Products.ZCatalog/trunk/CHANGES.txt
U Products.ZCatalog/trunk/src/Products/PluginIndexes/UUIDIndex/tests.py
-=-
Modified: Products.ZCatalog/trunk/CHANGES.txt
===================================================================
--- Products.ZCatalog/trunk/CHANGES.txt 2011-02-05 09:52:05 UTC (rev 120106)
+++ Products.ZCatalog/trunk/CHANGES.txt 2011-02-05 10:05:35 UTC (rev 120107)
@@ -4,6 +4,7 @@
2.13.5 (unreleased)
-------------------
+- Fixed test failures introduced in 2.13.4.
2.13.4 (2011-02-05)
-------------------
Modified: Products.ZCatalog/trunk/src/Products/PluginIndexes/UUIDIndex/tests.py
===================================================================
--- Products.ZCatalog/trunk/src/Products/PluginIndexes/UUIDIndex/tests.py 2011-02-05 09:52:05 UTC (rev 120106)
+++ Products.ZCatalog/trunk/src/Products/PluginIndexes/UUIDIndex/tests.py 2011-02-05 10:05:35 UTC (rev 120107)
@@ -126,8 +126,11 @@
self._checkApply(query, values[10:21])
def test_non_unique(self):
- self._index.index_object(0, Dummy('a'))
- self.assertRaises(ValueError, self._index.index_object, 1, Dummy('a'))
+ obj = Dummy('a')
+ self._index.index_object(0, obj)
+ # second index call fails and logs
+ self._index.index_object(1, obj)
+ self._checkApply({'foo': 'a'}, [(0, obj)])
def test_suite():
More information about the checkins
mailing list