Revision: da86a300e810
Author:   Mikko Korpela <[email protected]>
Date:     Wed Nov 23 05:47:17 2011
Log: Test did not work correctly in all parts of the world -- Ulaanbaator for example had dst removed between 2006-2007 (thus one 1 hour more time in that period)
http://code.google.com/p/robotframework/source/detail?r=da86a300e810

Modified:
 /utest/utils/test_robottime.py

=======================================
--- /utest/utils/test_robottime.py      Mon Jul  4 23:26:41 2011
+++ /utest/utils/test_robottime.py      Wed Nov 23 05:47:17 2011
@@ -161,8 +161,7 @@
                                   ('20060530 18:01:11', 100*60*60+1),
                                   ('20060601 14:01:09', 144*60*60-1),
                                   ('20060601 14:01:10', 144*60*60),
-                                  ('20060601 14:01:11', 144*60*60+1),
-                                  ('20070526 14:01:10', 8760*60*60)]:
+                                  ('20060601 14:01:11', 144*60*60+1)]:
             actual = get_elapsed_time(starttime, endtime, seps)
             assert_equal(actual, expected*1000, endtime)

@@ -185,9 +184,7 @@
                                   ('20060526 14:01:11.5123',1012),
                                   ('20060601 14:01:10.499', 518399999),
                                   ('20060601 14:01:10.500', 518400000),
-                                  ('20060601 14:01:10.501', 518400001),
-                                  ('20070526 14:01:10.499', 31535999999),
-                                  ('20070526 14:01:10.500', 31536000000)]:
+                                  ('20060601 14:01:10.501', 518400001)]:
             actual = get_elapsed_time(starttime, endtime, seps)
             assert_equal(actual, expected, endtime)

Reply via email to