[Buildbot-commits] buildbot/buildbot/test test_scheduler.py, 1.10, 1.11

Brian Warner warner at users.sourceforge.net
Sat Sep 30 22:36:24 UTC 2006


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

Modified Files:
	test_scheduler.py 
Log Message:
[project @ Periodic/Nightly: add a reason= to the BuildSet, to explain why it happened]

Original author: warner at lothar.com
Date: 2006-09-30 22:34:46

Index: test_scheduler.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_scheduler.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- test_scheduler.py	1 May 2006 00:10:57 -0000	1.10
+++ test_scheduler.py	30 Sep 2006 22:36:22 -0000	1.11
@@ -45,6 +45,7 @@
         self.failUnless(len(self.master.sets) > 1)
         s1 = self.master.sets[0]
         self.failUnlessEqual(s1.builderNames, ["a","b"])
+        self.failUnlessEqual(s1.reason, "The Periodic scheduler named 'quickly' triggered this build")
 
     def testNightly(self):
         # now == 15-Nov-2005, 00:05:36 AM . By using mktime, this is





More information about the Commits mailing list