[Buildbot-commits] buildbot/buildbot/test test_web.py,1.51,1.52
Brian Warner
warner at users.sourceforge.net
Thu Nov 22 00:20:15 UTC 2007
Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17319/buildbot/test
Modified Files:
test_web.py
Log Message:
[project @ waterfall: fix DST calculation. Closes #137.]
Original author: warner at lothar.com
Date: 2007-11-22 00:18:06+00:00
Index: test_web.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_web.py,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- test_web.py 10 Oct 2007 08:32:59 -0000 1.51
+++ test_web.py 22 Nov 2007 00:20:12 -0000 1.52
@@ -232,7 +232,7 @@
self.failUnless(page)
self.failUnlessIn("current activity", page)
self.failUnlessIn("<html", page)
- TZ = time.tzname[time.daylight]
+ TZ = time.tzname[time.localtime()[-1]]
self.failUnlessIn("time (%s)" % TZ, page)
# phase=0 is really for debugging the waterfall layout
More information about the Commits
mailing list