[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/FieldIndex/tests - testFieldIndex.py:1.6.68.1

Andreas Jung andreas at andreas-jung.com
Wed Jan 7 11:28:10 EST 2004


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/FieldIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv20562/lib/python/Products/PluginIndexes/FieldIndex/tests

Modified Files:
      Tag: Zope-2_7-branch
	testFieldIndex.py 
Log Message:
fixed tests using record-style parameters


=== Zope/lib/python/Products/PluginIndexes/FieldIndex/tests/testFieldIndex.py 1.6 => 1.6.68.1 ===
--- 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:28:10 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