[Zope-Checkins]
CVS: Zope/lib/python/Products/PluginIndexes/DateIndex/tests
- test_DateIndex.py:1.5.2.3
Andreas Jung
andreas at andreas-jung.com
Wed Jan 7 11:26:08 EST 2004
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/DateIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv20221/lib/python/Products/PluginIndexes/DateIndex/tests
Modified Files:
Tag: Zope-2_7-branch
test_DateIndex.py
Log Message:
fixed test using record-style parameters
=== Zope/lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py 1.5.2.2 => 1.5.2.3 ===
--- Zope/lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py:1.5.2.2 Tue Nov 4 17:10:50 2003
+++ Zope/lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py Wed Jan 7 11:26:07 2004
@@ -50,13 +50,13 @@
self._index = DateIndex('date')
self._noop_req = {'bar': 123}
self._request = {'date': DateTime(0)}
- self._min_req = {'date': DateTime('2032-05-08 15:16:17'),
- 'date_usage': 'range:min'}
- self._max_req = {'date': DateTime('2032-05-08 15:16:17'),
- 'date_usage': 'range:max'}
- self._range_req = {'date': (DateTime('2002-05-08 15:16:17'),
+ self._min_req = {'date': {'query': DateTime('2032-05-08 15:16:17'),
+ 'range': 'min'}}
+ self._max_req = {'date': {'query': DateTime('2032-05-08 15:16:17'),
+ 'range': 'max'}}
+ self._range_req = {'date': {'query':(DateTime('2002-05-08 15:16:17'),
DateTime('2062-05-08 15:16:17')),
- 'date_usage': 'range:min:max'}
+ 'range': 'min:max'}}
self._zero_req = {'date': 0}
self._none_req = {'date': None}
self._float_req = {'date': 1072742620.0}
More information about the Zope-Checkins
mailing list