[Buildbot-commits] buildbot/buildbot/test test_svnpoller.py, 1.2, 1.3

Brian Warner warner at users.sourceforge.net
Mon Oct 2 00:13:28 UTC 2006


Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17160/buildbot/test

Modified Files:
	test_svnpoller.py 
Log Message:
[project @ svnpoller: clean up timestamps, unicode usage]

Original author: warner at lothar.com
Date: 2006-10-02 00:03:58

Index: test_svnpoller.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_svnpoller.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- test_svnpoller.py	2 Oct 2006 00:13:18 -0000	1.2
+++ test_svnpoller.py	2 Oct 2006 00:13:26 -0000	1.3
@@ -421,7 +421,7 @@
         self.failUnlessEqual(c4.revision, 4)
         self.failUnlessEqual(c4.files, ["version.c"])
         self.failUnlessEqual(c4.comments, "revised_to_2")
-        self.failUnlessEqual(c4.when, makeTime("2006/10/01 19:35:16"))
+        self.failUnless(abs(c4.when - time.time()) < 60)
 
 
 # TODO:





More information about the Commits mailing list