[Zope-Checkins]
CVS: Zope/lib/python/Products/PluginIndexes/FieldIndex/tests
- testFieldIndex.py:1.7
Andreas Jung
andreas at andreas-jung.com
Wed Jan 7 11:45:01 EST 2004
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/FieldIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv23621/FieldIndex/tests
Modified Files:
testFieldIndex.py
Log Message:
- Using "_usage" parameters in a ZCatalog query is deprecated and
logged as DeprecationWarning.
=== Zope/lib/python/Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py 1.6 => 1.7 ===
--- Zope/lib/python/Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py:1.6 Wed Aug 14 18:19:29 2002
+++ Zope/lib/python/Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py Wed Jan 7 11:44:30 2004
@@ -57,14 +57,14 @@
self._noop_req = { 'bar': 123 }
self._request = { 'foo': 'abce' }
- self._min_req = { 'foo': 'abc'
- , 'foo_usage': 'range:min'
+ self._min_req = { 'foo': {'query': 'abc'
+ , 'range': 'min'}
}
- self._max_req = { 'foo': 'abc'
- , 'foo_usage': 'range:max'
+ self._max_req = { 'foo': {'query': 'abc'
+ , 'range': 'max' }
}
- self._range_req = { 'foo': ( 'abc', 'abcd' )
- , 'foo_usage': 'range:min:max'
+ self._range_req = { 'foo': {'query': ( 'abc', 'abcd' )
+ , 'range': 'min:max' }
}
self._zero_req = { 'foo': 0 }
self._none_req = { 'foo': None }
More information about the Zope-Checkins
mailing list