[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/DateIndex/tests - test_DateIndex.py:1.10

Gary Poster gary at zope.com
Tue Mar 2 21:30:45 EST 2004


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

Modified Files:
	test_DateIndex.py 
Log Message:
Try to fix these tests for what appears to be a bug that only occurs when system is in GMT.



=== Zope/lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py 1.9 => 1.10 ===
--- Zope/lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py:1.9	Fri Feb  6 10:20:17 2004
+++ Zope/lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py	Tue Mar  2 21:30:44 2004
@@ -107,10 +107,10 @@
             (5, Dummy('e', DateTime('2062-05-08 15:16:17'))), # 1018883325
             (6, Dummy('f', 1072742620.0)),                    # 1073545923
             (7, Dummy('f', 1072742900)),                      # 1073545928
-            (8, Dummy('g', date(2034,2,5))),                   # 1073599200
-            (9, Dummy('h', datetime(2034,2,5,15,17,5))),       # (1073600117UTC)
+            (8, Dummy('g', date(2034,2,5))),                  # 1073599200
+            (9, Dummy('h', datetime(2034,2,5,15,20,5))),      # (varies)
             (10, Dummy('i', datetime(2034,2,5,10,17,5, 
-                                     tzinfo=Eastern))),        # 1073600117
+                                     tzinfo=Eastern))),       # 1073600117
         )
         self._index = DateIndex('date')
         self._noop_req  = {'bar': 123}




More information about the Zope-Checkins mailing list